From 811e02bf871045a01c2f270bf9f31c668284e01a Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 16 Feb 2015 19:35:24 +0100 Subject: [PATCH] Revert change in indexfiles which was preventing the real time indexer from processing the web queue --- src/index/recollindex.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index/recollindex.cpp b/src/index/recollindex.cpp index 9d106b6b..81ef91d8 100644 --- a/src/index/recollindex.cpp +++ b/src/index/recollindex.cpp @@ -209,8 +209,6 @@ bool recursive_index(RclConfig *config, const string& top) // this case we're called repeatedly in the same process, and the // confindexer is only created once by makeIndexerOrExit (but the db closed and // flushed every time) -// We set the noweb flag (the web queue is processed by default when -// confindexer::indexFiles is called from the realtime monitor) bool indexfiles(RclConfig *config, list &filenames) { if (filenames.empty()) @@ -218,7 +216,7 @@ bool indexfiles(RclConfig *config, list &filenames) makeIndexerOrExit(config, (op_flags & OPT_Z) != 0); return confindexer->indexFiles(filenames, (op_flags&OPT_f) ? ConfIndexer::IxFIgnoreSkip : - ConfIndexer::IxFNoWeb); + ConfIndexer::IxFNone); } // Delete a list of files. Same comments about call contexts as indexfiles. @@ -227,7 +225,7 @@ bool purgefiles(RclConfig *config, list &filenames) if (filenames.empty()) return true; makeIndexerOrExit(config, (op_flags & OPT_Z) != 0); - return confindexer->purgeFiles(filenames, ConfIndexer::IxFNoWeb); + return confindexer->purgeFiles(filenames, ConfIndexer::IxFNone); } // Create stemming and spelling databases