Hi Roland,
I guess you can use defaults in solr config to set wt to XML. Something like:
<requestHandler name=“/my_handler" class="solr.SearchHandler">
<lst name="defaults">
<str name=“wt">xml</str>
</lst>
</requestHandler>
You can also use useParams=“xml_out” and in your params.json have xml params
defined group xml_out with wt: “xml”
HTH,
Emir
> On 2 Oct 2017, at 13:58, Roland Villemoes <[email protected]> wrote:
>
> Hi
>
> Default response in Solr 7 is now JSON instead of XML
> (https://issues.apache.org/jira/browse/SOLR-10494)
>
> We are using a system that use the Solr admin/cores api for core status etc.
> and we can't really change that system. That system expects the XML response.
> And as far as I can see default also changed to JSON there.
>
> So:
>
> Are there any way I can change the admin/cores API back to responses using
> XML instead of JSON?
>
>
> /Roland Villemoes