[Dovecot] Dovecot using FTS solr or Squat when searching multiple fields.

Timo Sirainen tss at iki.fi
Tue May 10 20:31:59 EEST 2011


On Sat, 2011-05-07 at 13:44 -0700, duonut wrote:
> Hi
> Im using dovecot 1.2.16 with Solr setup for FTS. When searching a single
> field such as subject Dovecot will use the solr index. When searching
> multiple fields such as subject and body it does not use the index and uses
> the standard built in search which takes much longer.
> 
> Is there any way to get Dovecot to use the solr or squat index when
> searching multiple fields? 

The problem is that Dovecot FTS plugin doesn't currently support the
search "OR" parameter. So you're probably searching for "foo OR bar"
fields, which doesn't work. There's no reason why it couldn't work,
other than that fixing it isn't a high priority for me currently.. It
could become though. :)




More information about the dovecot mailing list