|
a/src/rcldb/rcldb.h |
|
b/src/rcldb/rcldb.h |
|
... |
|
... |
374 |
considered as needing update. This is a global/per-process
|
374 |
considered as needing update. This is a global/per-process
|
375 |
option, and can't be reset. It should be set at the start of
|
375 |
option, and can't be reset. It should be set at the start of
|
376 |
the indexing pass. 2012-10: no idea why this is done this way...
|
376 |
the indexing pass. 2012-10: no idea why this is done this way...
|
377 |
*/
|
377 |
*/
|
378 |
static void setInPlaceReset() {o_inPlaceReset = true;}
|
378 |
static void setInPlaceReset() {o_inPlaceReset = true;}
|
|
|
379 |
|
|
|
380 |
/** Flush interval get/set. This is used by the first indexing
|
|
|
381 |
pass to override the config value and flush more rapidly
|
|
|
382 |
initially so that the user can quickly play with queries */
|
|
|
383 |
int getFlushMb()
|
|
|
384 |
{
|
|
|
385 |
return m_flushMb;
|
|
|
386 |
}
|
|
|
387 |
void setFlushMb(int mb)
|
|
|
388 |
{
|
|
|
389 |
m_flushMb = mb;
|
|
|
390 |
}
|
|
|
391 |
bool doFlush();
|
379 |
|
392 |
|
380 |
/* This has to be public for access by embedded Query::Native */
|
393 |
/* This has to be public for access by embedded Query::Native */
|
381 |
Native *m_ndb;
|
394 |
Native *m_ndb;
|
382 |
private:
|
395 |
private:
|
383 |
const RclConfig *m_config;
|
396 |
const RclConfig *m_config;
|