[Dovecot] Dovecot using FTS solr or Squat when searching multiple fields.
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?
View this message in context: http://old.nabble.com/Dovecot-using-FTS-solr-or-Squat-when-searching-multipl... Sent from the Dovecot mailing list archive at Nabble.com.
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. :)
participants (2)
-
duonut
-
Timo Sirainen