|
a/src/rcldb/rclquery.h |
|
b/src/rcldb/rclquery.h |
|
... |
|
... |
52 |
/** Get explanation about last error */
|
52 |
/** Get explanation about last error */
|
53 |
string getReason() const;
|
53 |
string getReason() const;
|
54 |
|
54 |
|
55 |
/** Choose sort order. Must be called before setQuery */
|
55 |
/** Choose sort order. Must be called before setQuery */
|
56 |
void setSortBy(const string& fld, bool ascending = true);
|
56 |
void setSortBy(const string& fld, bool ascending = true);
|
57 |
void setCollapseDuplicates(bool on) {m_collapseDuplicates = on;}
|
|
|
58 |
const string& getSortBy() const {return m_sortField;}
|
57 |
const string& getSortBy() const {return m_sortField;}
|
59 |
bool getSortAscending() const {return m_sortAscending;}
|
58 |
bool getSortAscending() const {return m_sortAscending;}
|
|
|
59 |
|
|
|
60 |
/** Return or filter results with identical content checksum */
|
|
|
61 |
void setCollapseDuplicates(bool on) {m_collapseDuplicates = on;}
|
60 |
|
62 |
|
61 |
/** Accept data describing the search and query the index. This can
|
63 |
/** Accept data describing the search and query the index. This can
|
62 |
* be called repeatedly on the same object which gets reinitialized each
|
64 |
* be called repeatedly on the same object which gets reinitialized each
|
63 |
* time.
|
65 |
* time.
|
64 |
*/
|
66 |
*/
|