<div dir="ltr">Thanks, but the problem isn't the response, is the request that comes with header Content-Type: text/xml that solr doesn't like.<div>With header stripping everything goes fine.</div><div>Thanks<br><div><div><br></div><div><br></div><div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno ven 30 nov 2018 alle ore 16:57 Christian Kivalo <<a href="mailto:ml%2Bdovecot@valo.at">ml+dovecot@valo.at</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On November 30, 2018 4:13:40 PM GMT+01:00, Riccardo Bicelli <<a href="mailto:r.bicelli@gmail.com" target="_blank">r.bicelli@gmail.com</a>> wrote:<br>
>Thanks,<br>
>but how? I looked through solr documentation and found anything useful.<br>
See for example this thread where its described how to change the query response writer in solr<br>
<a href="http://dovecot.2317879.n4.nabble.com/Solr-7-td61467.html" rel="noreferrer" target="_blank">http://dovecot.2317879.n4.nabble.com/Solr-7-td61467.html</a><br>
>For now got it working setting up nginx and strip down the header, but<br>
>I<br>
>think it isn't the proper solution.<br>
><br>
>Cheers<br>
><br>
><br>
>Il giorno ven 30 nov 2018 alle ore 09:48 Aki Tuomi <<br>
><a href="mailto:aki.tuomi@open-xchange.com" target="_blank">aki.tuomi@open-xchange.com</a>> ha scritto:<br>
><br>
>><br>
>> On 28.11.2018 9.52, Riccardo Bicelli wrote:<br>
>> > Hello,<br>
>> > I recently upgraded my solr installation to 6.6.5<br>
>> ><br>
>> > When searching through dovecot solr throws this this error:<br>
>> ><br>
>> > solr Bad contentType for search handler :text/xml<br>
>> ><br>
>> > I'm running dovecot 2.2.10 on CentOS 7.5.<br>
>> ><br>
>> > Regards<br>
>> > Riccardo<br>
>> ><br>
>><br>
>> Configure your solr to use XML instead of JSON.<br>
>><br>
>> Aki<br>
>><br>
>><br>
<br>
-- <br>
Christian Kivalo<br>
</blockquote></div>