]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
fts-lucene: Use TermQuery instead of PrefixQuery for searches.
authorTimo Sirainen <tss@iki.fi>
Tue, 16 Aug 2011 20:37:42 +0000 (23:37 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 16 Aug 2011 20:37:42 +0000 (23:37 +0300)
commitd29ec22aa388c84852ddb1d9a7179ef3bb117847
treebb1b7f0ba142b23d33d3ebab1424f8e52548a9b2
parent03f4c5f3502801f5b318f464cc75313a88558805
fts-lucene: Use TermQuery instead of PrefixQuery for searches.
Although PrefixQuery gives a more IMAP-like result, it's slower and can
fail if the prefix string is small.
src/plugins/fts-lucene/lucene-wrapper.cc