How are you sending the query request that doesn't come back as xml? I suspect 
that the request is being sent with an explicit wt parameter set to something 
other than xml. Making a query with the admin ui would do this, and it would 
probably default to json.

When you make a query, assuming you haven't changed the logging config, every 
parameter in that request can be found in the log entry for the query, 
including those that come from the solrconfig.xml.

Sorry about the top posted reply. It's the only option on this email app. My 
computer isn't available so I'm on my phone.

⁣Get TypeApp for Android ​

On Aug 6, 2020, 21:52, at 21:52, yaswanth kumar <yaswanth...@gmail.com> wrote:
>Can someone help me on this ASAP? I am using solr 8.2.0 and below is
>the
>snippet from solrconfig.xml for one of the configset, where I am trying
>to
>default the results into xml format but its giving me as a json result.
>
><requestHandler name="/select" class="solr.SearchHandler">
>    <!-- default values for query parameters can be specified, these
>         will be overridden by parameters in the request
>      -->
>    <lst name="defaults">
>      <str name="echoParams">all</str>
>      <int name="rows">10</int>
>      <!-- Default search field-->
>         <str name="df">pkey</str>
>         <str name="wt">xml</str>
>    </lst>
>
>Can some one let me know if I need to do something more to always get a
>solr /select query results as XML??
>--
>Thanks & Regards,
>Yaswanth Kumar Konathala.
>yaswanth...@gmail.com

Reply via email to