Jose Álvaro Domínguez Díaz
2011-Feb-09 13:12 UTC
[Dovecot] Dovecot + Solr does not index without break-imap-search?
Hi folks, We are working with Dovecot 2.0.9 with Solr support and there is a thing, a little strange for us. Let me explain. We have this conf for Solr: plugin { ... fts = solr fts_solr = url=http:// solr.domain:8983/solr/ break-imap-search quota = maildir ... } With 'break-imap-search', Dovecot connects with solr, solr indexes all, searchs are fast and all works fine. BUT if we don't add 'break-imap-search', solr doesn't index anything. Logs don't report errors with debug/verbose options enabled. Somebody has any idea about this?. Thank you very much for all. Regards. -- Jose ?lvaro Dom?nguez adominguez at yaco.es Yaco Sistemas S.L. http://www.yaco.es/ C/ Rioja 5, 41001 Sevilla Tel?fono +34 954 50 00 57 Fax +34 954 50 09 29
Timo Sirainen
2011-Feb-09 15:26 UTC
[Dovecot] Dovecot + Solr does not index without break-imap-search?
On 9.2.2011, at 15.12, Jose ?lvaro Dom?nguez D?az wrote:> With 'break-imap-search', Dovecot connects with solr, solr indexes all, searchs are fast and all works fine. BUT if we don't add 'break-imap-search', solr doesn't index anything.With break-imap-search the indexing is used for TEXT and BODY search keys. Strictly looking at the IMAP RFC this makes Dovecot noncompliant, but then again there already are so many servers doing that that probably no one cares. Without break-imap-search, indexing is used only for Dovecot-specific X-TEXT-FAST and X-BODY-FAST search keys, which of course nothing uses unless you modify your webmail. In future once Dovecot supports FUZZY extension this is going to be used by it to make it a bit more useful.