|
a/src/rcldb/rcldb_p.h |
|
b/src/rcldb/rcldb_p.h |
|
... |
|
... |
103 |
friend void *DbUpdWorker(void*);
|
103 |
friend void *DbUpdWorker(void*);
|
104 |
#endif // IDX_THREADS
|
104 |
#endif // IDX_THREADS
|
105 |
|
105 |
|
106 |
void openWrite(const std::string& dir, Db::OpenMode mode);
|
106 |
void openWrite(const std::string& dir, Db::OpenMode mode);
|
107 |
void openRead(const string& dir);
|
107 |
void openRead(const string& dir);
|
|
|
108 |
|
|
|
109 |
// Determine if an existing index is of the full-text-storing kind
|
|
|
110 |
// by looking at the index metadata. Stores the result in m_storetext
|
|
|
111 |
void storesDocText(Xapian::Database&);
|
108 |
|
112 |
|
109 |
// Final steps of doc update, part which need to be single-threaded
|
113 |
// Final steps of doc update, part which need to be single-threaded
|
110 |
bool addOrUpdateWrite(const string& udi, const string& uniterm,
|
114 |
bool addOrUpdateWrite(const string& udi, const string& uniterm,
|
111 |
Xapian::Document *doc, size_t txtlen
|
115 |
Xapian::Document *doc, size_t txtlen
|
112 |
, const string& rawztext);
|
116 |
, const string& rawztext);
|