Re: [Dovecot] Full text search indexing
On Sat, December 9, 2006 8:05 pm, Timo Sirainen tss@iki.fi said:
As I've explained a couple of times already, IMAP RFC says that searches are done by matching substrings, so the Lucene backend isn't fully RFC compliant. Currently it's anyway used to optimize standard SEARCH BODY/TEXT rules, but I'll probably make it optional and instead add new X-NONEXACT-BODY/TEXT rules. Then it will be possible to use both Lucene and Squat backends to optimize different searches (eg. Lucene for your modified webmail and Squat for standard IMAP clients).
Very cool. Will searches other than BODY and TEXT use Lucene, Squat or the normal Dovecot indexes?... such as SEARCH SUBJECT/TO/CC/FROM/HEADER
Bill
On Thu, 2006-12-14 at 18:19 -0500, Bill Boebel wrote:
On Sat, December 9, 2006 8:05 pm, Timo Sirainen tss@iki.fi said:
As I've explained a couple of times already, IMAP RFC says that searches are done by matching substrings, so the Lucene backend isn't fully RFC compliant. Currently it's anyway used to optimize standard SEARCH BODY/TEXT rules, but I'll probably make it optional and instead add new X-NONEXACT-BODY/TEXT rules. Then it will be possible to use both Lucene and Squat backends to optimize different searches (eg. Lucene for your modified webmail and Squat for standard IMAP clients).
Very cool. Will searches other than BODY and TEXT use Lucene, Squat or the normal Dovecot indexes?... such as SEARCH SUBJECT/TO/CC/FROM/HEADER
Currently not, but they could. That SEARCH command parser/optimizer part of the code could still use some work..
participants (2)
-
Bill Boebel
-
Timo Sirainen