23 Nov
2009
23 Nov
'09
7:52 p.m.
On Wed, 2009-11-18 at 00:53 +0700, vuser1@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