[Dovecot] Question: Is Server Side Search announced somehow via the IMAP CAPABILITY string?
Hey Timo,
Subject says it all...
This question is a result of an ongoing discussion on the mozilla enterprise list...
Is there a standard/reliable way for an IMAP client to determine that an IMAP server supports server side search (with indexes)?
Thanks,
--
Best regards,
Charles
On 28.2.2012, at 18.33, Charles Marcus wrote:
This question is a result of an ongoing discussion on the mozilla enterprise list...
Is there a standard/reliable way for an IMAP client to determine that an IMAP server supports server side search
All IMAP servers are required to support SEARCH command. Some crappy ones don't, but I think all widely used ones do.
(with indexes)?
No way to know that.
Well, okay, actually if server advertises FUZZY extension you can be quite certain that it supports indexed server side searches. And that reminds me, I should hide that extension when FTS isn't enabled in Dovecot.. (I don't know if there are any other servers besides Dovecot implementing FUZZY.)
On 28.2.2012, at 18.38, Timo Sirainen wrote:
Well, okay, actually if server advertises FUZZY extension you can be quite certain that it supports indexed server side searches.
I meant SEARCH=FUZZY
And that reminds me, I should hide that extension when FTS isn't enabled in Dovecot..
v2.1.2 will no longer advertise it unless fts=solr or fts=lucene: http://hg.dovecot.org/dovecot-2.1/rev/bdc881838b00
On 2012-02-28 11:51 AM, Timo Sirainen <tss@iki.fi> wrote:
On 28.2.2012, at 18.38, Timo Sirainen wrote:
Well, okay, actually if server advertises FUZZY extension you can be quite certain that it supports indexed server side searches.
I meant SEARCH=FUZZY
Thanks for the replies Timo...
Off the top of your head, do you know if Cyrus or GMail (I guess the two other most popular IMAP servers that support server side indexes) advertise SEARCH=FUZZY?
Thanks again... hopefully something will comes of this for Thunderbird.
--
Best regards,
Charles
On 28.2.2012, at 20.29, Charles Marcus wrote:
Off the top of your head, do you know if Cyrus or GMail (I guess the two other most popular IMAP servers that support server side indexes) advertise SEARCH=FUZZY?
Neither. Probably no servers besides Dovecot. But it is less than a year old RFC..
participants (2)
-
Charles Marcus
-
Timo Sirainen