[Dovecot] panic fts_solr for bad attachment

Daniel L. Miller dmiller at amfes.com
Tue Nov 27 06:54:56 EET 2012


On 11/26/2012 5:50 PM, Timo Sirainen wrote:
> On 18.11.2012, at 16.54, Robert Strötgen wrote:
>
>> Nov 18, 2012 2:59:09 PM org.apache.solr.common.SolrException log
>> SEVERE: org.apache.solr.common.SolrException: Invalid UTF-8 start byte
>> 0xfc (at char #25214836, byte #26687495)
> Annoying. I guess these fix it:
>
> http://hg.dovecot.org/dovecot-2.1/rev/172295f5a78b
> http://hg.dovecot.org/dovecot-2.1/rev/01550514f189
> http://hg.dovecot.org/dovecot-2.1/rev/339e654f371e
>
The "waitFlush" option for solr's commit method has been deprecated - 
and removed completely in the current version.  Suggest a change to 
fts-backend-solr.c:

in fts_backend_solr_update_deinit()
                 str = t_strdup_printf("<commit "
                                       "waitSearcher=\"%s\"/>",
                                       ctx->documents_added ? "true" : 
"false");

-- 
Daniel



More information about the dovecot mailing list