|
a/src/rcldb/rcldb.h |
|
b/src/rcldb/rcldb.h |
|
... |
|
... |
234 |
* Side-effect when the db is writeable: set the existence flag
|
234 |
* Side-effect when the db is writeable: set the existence flag
|
235 |
* for the file document and all subdocs if any (for later use by
|
235 |
* for the file document and all subdocs if any (for later use by
|
236 |
* 'purge()')
|
236 |
* 'purge()')
|
237 |
*/
|
237 |
*/
|
238 |
bool needUpdate(const string &udi, const string& sig, bool *existed=0);
|
238 |
bool needUpdate(const string &udi, const string& sig, bool *existed=0);
|
|
|
239 |
|
|
|
240 |
/** Indicate if we are doing a systematic reindex. This complements
|
|
|
241 |
needUpdate() return */
|
|
|
242 |
bool inFullReset() {return o_inPlaceReset || m_mode == DbTrunc;}
|
239 |
|
243 |
|
240 |
/** Add or update document identified by unique identifier.
|
244 |
/** Add or update document identified by unique identifier.
|
241 |
* @param config Config object to use. Can be the same as the member config
|
245 |
* @param config Config object to use. Can be the same as the member config
|
242 |
* or a clone, to avoid sharing when called in multithread context.
|
246 |
* or a clone, to avoid sharing when called in multithread context.
|
243 |
* @param udi the Unique Document Identifier is opaque to us.
|
247 |
* @param udi the Unique Document Identifier is opaque to us.
|