dovecot-2.2: fts-lucene: Log a warning when rebuilding index bec...

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 11 13:12:06 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/f3df2eb2ce8e
changeset: 17789:f3df2eb2ce8e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 11 16:11:37 2014 +0300
description:
fts-lucene: Log a warning when rebuilding index because of settings changes

diffstat:

 src/plugins/fts-lucene/fts-backend-lucene.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 4016a491e958 -r f3df2eb2ce8e src/plugins/fts-lucene/fts-backend-lucene.c
--- a/src/plugins/fts-lucene/fts-backend-lucene.c	Wed Sep 10 18:41:39 2014 +0300
+++ b/src/plugins/fts-lucene/fts-backend-lucene.c	Thu Sep 11 16:11:37 2014 +0300
@@ -197,6 +197,7 @@
 		if (!fts_index_have_compatible_settings(_backend->ns->list,
 							set_checksum)) {
 			/* need to rebuild the index */
+			i_warning("fts-lucene: Settings have changed, rebuilding index");
 			*last_uid_r = 0;
 		} else {
 			*last_uid_r = hdr.last_indexed_uid;


More information about the dovecot-cvs mailing list