FTS Solr errors using doveadm

Aki Tuomi aki.tuomi at dovecot.fi
Sat Jun 30 09:31:42 EEST 2018


> On 30 June 2018 at 05:54 Stuart Henderson <stu at spacehopper.org> wrote:
> 
> 
> On 2018-06-07, Ricardo Branco <ricardo.branco at wenn.com> wrote:
> > Solr 7 returns JSON by default but fts_solr requires XML.
> >
> > Would be good to have wt=xml added to the query to force it to xml all the time, this would prevent errors if solr has 
> > not had xml set as default for index.
> 
> This is already done in Dovecot 2.3.x, the same patch works in 2.2.x.
> 
> https://github.com/dovecot/core/commit/f987ef0632fc.patch
> 
>

You can also configure SOLR to use XML instead of JSON by default.

Aki


More information about the dovecot mailing list