|
a/src/index/indexer.h |
|
b/src/index/indexer.h |
|
... |
|
... |
27 |
#include "rcldb.h"
|
27 |
#include "rcldb.h"
|
28 |
#include "rcldoc.h"
|
28 |
#include "rcldoc.h"
|
29 |
#include "idxstatus.h"
|
29 |
#include "idxstatus.h"
|
30 |
|
30 |
|
31 |
class FsIndexer;
|
31 |
class FsIndexer;
|
32 |
class BeagleQueueIndexer;
|
32 |
class WebQueueIndexer;
|
33 |
|
33 |
|
34 |
/** Callback to say what we're doing. If the update func returns false, we
|
34 |
/** Callback to say what we're doing. If the update func returns false, we
|
35 |
* stop as soon as possible without corrupting state */
|
35 |
* stop as soon as possible without corrupting state */
|
36 |
class DbIxStatusUpdater {
|
36 |
class DbIxStatusUpdater {
|
37 |
public:
|
37 |
public:
|
|
... |
|
... |
116 |
private:
|
116 |
private:
|
117 |
RclConfig *m_config;
|
117 |
RclConfig *m_config;
|
118 |
Rcl::Db m_db;
|
118 |
Rcl::Db m_db;
|
119 |
FsIndexer *m_fsindexer;
|
119 |
FsIndexer *m_fsindexer;
|
120 |
bool m_doweb;
|
120 |
bool m_doweb;
|
121 |
BeagleQueueIndexer *m_webindexer;
|
121 |
WebQueueIndexer *m_webindexer;
|
122 |
DbIxStatusUpdater *m_updater;
|
122 |
DbIxStatusUpdater *m_updater;
|
123 |
string m_reason;
|
123 |
string m_reason;
|
124 |
|
124 |
|
125 |
// The first time we index, we do things a bit differently to
|
125 |
// The first time we index, we do things a bit differently to
|
126 |
// avoid user frustration (make at least some results available
|
126 |
// avoid user frustration (make at least some results available
|