|
a/src/index/indexer.h |
|
b/src/index/indexer.h |
|
... |
|
... |
27 |
using std::map;
|
27 |
using std::map;
|
28 |
#endif
|
28 |
#endif
|
29 |
|
29 |
|
30 |
#include "rclconfig.h"
|
30 |
#include "rclconfig.h"
|
31 |
#include "rcldb.h"
|
31 |
#include "rcldb.h"
|
|
|
32 |
#include "rcldoc.h"
|
32 |
|
33 |
|
33 |
class FsIndexer;
|
34 |
class FsIndexer;
|
34 |
class BeagleQueueIndexer;
|
35 |
class BeagleQueueIndexer;
|
35 |
|
36 |
|
36 |
class DbIxStatus {
|
37 |
class DbIxStatus {
|
|
... |
|
... |
94 |
static list<string> getStemmerNames();
|
95 |
static list<string> getStemmerNames();
|
95 |
|
96 |
|
96 |
/** Index a list of files. No db cleaning or stemdb updating */
|
97 |
/** Index a list of files. No db cleaning or stemdb updating */
|
97 |
bool indexFiles(std::list<string> &files, IxFlag f = IxFNone);
|
98 |
bool indexFiles(std::list<string> &files, IxFlag f = IxFNone);
|
98 |
|
99 |
|
|
|
100 |
/** Update index for list of documents given as list of docs (out of query)
|
|
|
101 |
*/
|
|
|
102 |
bool updateDocs(std::vector<Rcl::Doc> &docs, IxFlag f = IxFNone);
|
|
|
103 |
|
99 |
/** Purge a list of files. */
|
104 |
/** Purge a list of files. */
|
100 |
bool purgeFiles(std::list<string> &files);
|
105 |
bool purgeFiles(std::list<string> &files);
|
101 |
|
106 |
|
102 |
private:
|
107 |
private:
|
103 |
RclConfig *m_config;
|
108 |
RclConfig *m_config;
|