|
a/src/rcldb/rcldb.h |
|
b/src/rcldb/rcldb.h |
|
... |
|
... |
171 |
|
171 |
|
172 |
/* Query-related methods ************************************/
|
172 |
/* Query-related methods ************************************/
|
173 |
|
173 |
|
174 |
/** Return total docs in db */
|
174 |
/** Return total docs in db */
|
175 |
int docCnt();
|
175 |
int docCnt();
|
176 |
|
176 |
/** Return count of docs which have an occurrence of term */
|
|
|
177 |
int termDocCnt(const string& term);
|
177 |
/** Add extra database for querying */
|
178 |
/** Add extra database for querying */
|
178 |
bool addQueryDb(const string &dir);
|
179 |
bool addQueryDb(const string &dir);
|
179 |
/** Remove extra database. if dir == "", remove all. */
|
180 |
/** Remove extra database. if dir == "", remove all. */
|
180 |
bool rmQueryDb(const string &dir);
|
181 |
bool rmQueryDb(const string &dir);
|
181 |
/** Tell if directory seems to hold xapian db */
|
182 |
/** Tell if directory seems to hold xapian db */
|