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

<snip>

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 to yours out on 8.5.1, using the techproducts example. The results were in XML.

I'm betting that you modified a copy of solrconfig.xml that is *NOT* the correct one for PROXIMITY_DATA_V2. Or that after modifying it, you did not reload the core or restart Solr.

If your Solr server is in cloud mode, then you must modify the solrconfig.xml that lives in the ZooKeeper database, under the config in use for the collection.

If your server is not in cloud mode, then the relevant file is most likely to be the solrconfig.xml that is in the core's "conf" directory. Modifying the version of the file under the configsets directory after the core is created will not change anything.

I am also curious about the answer to Alexandre's question -- what is in the echoed parameters found in the incorrect response? Setting echoParams to "all" as you have done can be very useful for this.

Thanks,
Shawn

Reply via email to