[Dovecot] [BUG] Lucene plugin breaks header substring search

Timo Sirainen tss at iki.fi
Tue Oct 16 03:52:50 EEST 2012


On 16.10.2012, at 1.35, Dave Abrahams wrote:

> According to the IMAP spec if I do a search for "TO isocpp.org" it
> should find all the messages whose To: field contains the string
> "isocpp.org", but dovecot is returning me an empty list.  However, a
> search for "TO tm at isocpp.org" produces a long list of messages.

This specific problem can be solved by:

plugin {
  fts_lucene = whitespace_chars=@.
}

> This
> behavior is present if I *even load* the lucene fts plugin.
> Note that lucene isn't in use (fts = squat); it's merely loaded.  This
> behavior goes away if I don't load fts_lucene.

I don't really see how that's possible. Although a quick test shows me that fts_squat seems to be completely broken with me for some reason.




More information about the dovecot mailing list