Re: wt=xml not defaulting the results to xml format

2020-08-07 Thread Shawn Heisey
On 8/7/2020 9:30 AM, yaswanth kumar wrote: solr/PROXIMITY_DATA_V2/select?q=pkey:223_*&group=true&group.field=country_en&fl=country_en What ever I am trying is not working other than sending wt=xml as a parameter while hitting the url. I tried your solrconfig.xml addition and a URL similar

Re: wt=xml not defaulting the results to xml format

2020-08-07 Thread Alexandre Rafalovitch
You have echoParams set to all. What does that return? Regards, Alex On Fri., Aug. 7, 2020, 11:31 a.m. yaswanth kumar, wrote: > Thanks for looking into this Erick, > > > solr/PROXIMITY_DATA_V2/select?q=pkey:223_*&group=true&group.field=country_en&fl=country_en > > that's what the url I am hi

Re: wt=xml not defaulting the results to xml format

2020-08-07 Thread yaswanth kumar
Thanks for looking into this Erick, solr/PROXIMITY_DATA_V2/select?q=pkey:223_*&group=true&group.field=country_en&fl=country_en that's what the url I am hitting, and also I made sure that initParams is all commented like this and also I made sure that there is no uncommneted section defined for in

Re: wt=xml not defaulting the results to xml format

2020-08-07 Thread Erick Erickson
Please show us the _exact_ URL you’re sending as well as the response header, particularly the echoed params. This is a long shot, but also take a look at any “initParams” sections in solrconfig.xml. The “wt” parameter you’ve specified in your select handler should override anything in the sec

Re: wt=xml not defaulting the results to xml format

2020-08-07 Thread yaswanth kumar
Thanks Shawn, for looking into this. I did make sure that no explicit parameter wt is being sent and also verified the logs and even that's not showing up any extra parameters. But it's always taking json as a default, unless I pass it explicitly as wt=xml which I don't want to do it here. Is ther

Re: wt=xml not defaulting the results to xml format

2020-08-07 Thread Shawn Heisey
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

wt=xml not defaulting the results to xml format

2020-08-06 Thread yaswanth kumar
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. all 10 pkey xml Can some