dovecot-2.2: fts-lucene: Fix to earlier commit: Header names mus...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Apr 21 20:01:43 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/7a0d3453600a
changeset: 18446:7a0d3453600a
user: Timo Sirainen <tss at iki.fi>
date: Tue Apr 21 23:00:08 2015 +0300
description:
fts-lucene: Fix to earlier commit: Header names must be indexed without libfts, not with.
diffstat:
src/plugins/fts-lucene/lucene-wrapper.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 1ba63410b902 -r 7a0d3453600a src/plugins/fts-lucene/lucene-wrapper.cc
--- a/src/plugins/fts-lucene/lucene-wrapper.cc Tue Apr 21 21:29:42 2015 +0300
+++ b/src/plugins/fts-lucene/lucene-wrapper.cc Tue Apr 21 23:00:08 2015 +0300
@@ -609,7 +609,7 @@
wchar_t wname[namesize];
lucene_utf8_n_to_tchar((const unsigned char *)hdr_name,
strlen(hdr_name), wname, namesize);
- if (index->set.use_libfts)
+ if (!index->set.use_libfts)
index->doc->add(*_CLNEW Field(_T("hdr"), wname, Field::STORE_NO | token_flag));
index->doc->add(*_CLNEW Field(_T("hdr"), dest, Field::STORE_NO | token_flag));
More information about the dovecot-cvs
mailing list