Simplified the indexing status update code by treating the updater as a singleton
Add a 'flushing' state for when we commit the Xapian index.
This commit is contained in:
@@ -46,6 +46,7 @@ void RclMain::updateIdxStatus()
|
||||
switch (status.phase) {
|
||||
case DbIxStatus::DBIXS_NONE:phs=tr("None");break;
|
||||
case DbIxStatus::DBIXS_FILES: phs=tr("Updating");break;
|
||||
case DbIxStatus::DBIXS_FLUSH: phs=tr("Flushing");break;
|
||||
case DbIxStatus::DBIXS_PURGE: phs=tr("Purge");break;
|
||||
case DbIxStatus::DBIXS_STEMDB: phs=tr("Stemdb");break;
|
||||
case DbIxStatus::DBIXS_CLOSING:phs=tr("Closing");break;
|
||||
|
||||
Reference in New Issue
Block a user