[Dovecot] fts squat non-english search for 2 words

Timo Sirainen tss at iki.fi
Mon Nov 23 19:52:22 EET 2009


On Wed, 2009-11-18 at 00:53 +0700, vuser1 at test123.ru wrote:

> It looks I encoutered a bug or misconfiguration. fts_squat search for subject and body works excellent for English mails. For non-English (in particular, Russian) it works only when query consists of 1 word. Phrases - 2 and more words - always returns nothing. Example: search for "planet" ("планета") returns results, search for "Earth" ("Земля") also returns results, but "planet Earth" ("планета Земля") returns nothing. But there are emails having exact phrase "planet Earth". This problem occurs only for non-English queries, both for search in subject and in email body.

This should fix it: http://hg.dovecot.org/dovecot-1.2/rev/6541fcc3bf54

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091123/bd26ae69/attachment.bin 


More information about the dovecot mailing list