Hi Chris, I'm not all that familiar with the "json.wrf" functionality, so I could be off here. But starting in 9.3, Solr switched to using Jackson for serialization and away from the homegrown code it's used up to this point. I wonder whether that switch might've broken "json.wrf" in 9.3? I tried to ask that question on the JIRA ticket that made this change, so you might be interested to follow that here: https://issues.apache.org/jira/browse/SOLR-16691.
If that switch is the cause, you might be able to work around the problem by telling Solr to use the old approach for serialization by putting the following config in any relevant solrconfig.xml files: <queryResponseWriter name="json" class="solr.JSONResponseWriter"/> Best of luck, Jason On Tue, Sep 12, 2023 at 2:35 AM Chris Stewart <chris.stew...@intersystems.com.invalid> wrote: > > > Hi Solr community > > I have been working on migrating from Solr 7.3.1 to Solr 9.3.0 and have hit > an issue where my JSONP callback request isn't being handled correctly. > When I request the callback function with wt=json, I am just getting normal > JSON back. Specifying wt=python does wrap the return correctly, but the > output is unsuitable for my framework > > My test cases are: > > wt=json&json.wrf=ng_jsonp_callback_0 on Solr 9.3.0 > > { "responseHeader":{ "status":0, "QTime":9, "params":{ > > wt=python&json.wrf=ng_jsonp_callback_0 on Solr 9.3.0 > > ng_jsonp_callback_0({ 'responseHeader':{ 'status':0, 'QTime':28, > > wt=json&json.wrf=ng_jsonp_callback_0 on Solr 7.3.1 > > ng_jsonp_callback_0({ "responseHeader":{ "status":400, "QTime":206, > "params":{ > > > Am I missing some config? I've checked over the release notes and > documentation and can't see anything obviously different between my 2 > versions to explain this? > > > Many thanks in advance > > Chris > > >