[Dovecot] question about fts_squat
just installed dovecot with fts_squat config attached after message.
When i telnet to imap server and execute by hand 1 login user password select foldername search body "someword"
it works fine, and at blazing speed except first run (indexing). i already indexed everything by doveadm index offline to prevent server overload if multiple users (after i tell them) will try fulltext search.
All great BUT it doesn't work in thunderbird. Just gives zero results.
i used tcpdump to check how thunderbird executes it and it uses
search undeleted body "someword"
tried manually and it DOES NOT WORK. always give empty results.
even search all body "someword" doesn't work.
while
search body "someword"
always work very well.
what's wrong?
# 2.1.7: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.3-STABLE amd64 disable_plaintext_auth = no listen = * mail_location = maildir:~/Maildir mail_plugins = fts fts_squat namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /usr/local/etc/dovecot/deny-users deny = yes driver = passwd-file } passdb { driver = pam } plugin { fts = squat fts_squat = partial=4 full=10 } protocols = imap ssl_cert =
When i telnet to imap server and execute by hand 1 login user password select foldername search body "someword"
sorry it was 2 and 3 just like 1 at login.
it works fine, and at blazing speed except first run (indexing). i already indexed everything by doveadm index offline to prevent server overload if multiple users (after i tell them) will try fulltext search.
All great BUT it doesn't work in thunderbird. Just gives zero results.
i used tcpdump to check how thunderbird executes it and it uses
search undeleted body "someword"
tried manually and it DOES NOT WORK. always give empty results.
even search all body "someword" doesn't work.
while
search body "someword"
always work very well.
what's wrong?
# 2.1.7: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.3-STABLE amd64 disable_plaintext_auth = no listen = * mail_location = maildir:~/Maildir mail_plugins = fts fts_squat namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /usr/local/etc/dovecot/deny-users deny = yes driver = passwd-file } passdb { driver = pam } plugin { fts = squat fts_squat = partial=4 full=10 } protocols = imap ssl_cert =
On 16.6.2012, at 13.55, Wojciech Puchar wrote:
even search all body "someword" doesn't work.
while
search body "someword"
always work very well.
what's wrong?
Fixed: http://hg.dovecot.org/dovecot-2.1/rev/4ce1f9649592
Anyway, fts-lucene backend works better than fts-squat.
always work very well.
what's wrong?
Thanks. so - my post actually got right. sorry for repost! just got this delayed!
Anyway, fts-lucene backend works better than fts-squat.
Better in what respect?
less than a second (when disk I/O was needed) fulltext search over 10000 mails doesn't look bad :)
On 18.6.2012, at 20.23, Wojciech Puchar wrote:
Anyway, fts-lucene backend works better than fts-squat. Better in what respect?
less than a second (when disk I/O was needed) fulltext search over 10000 mails doesn't look bad :)
Squat index updates are somewhat slow, especially if the index is large.
thank you very much for help!
On Mon, 18 Jun 2012, Timo Sirainen wrote:
On 18.6.2012, at 20.23, Wojciech Puchar wrote:
Anyway, fts-lucene backend works better than fts-squat. Better in what respect?
less than a second (when disk I/O was needed) fulltext search over 10000 mails doesn't look bad :)
Squat index updates are somewhat slow, especially if the index is large.
participants (2)
-
Timo Sirainen
-
Wojciech Puchar