You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by "Oakley, Craig (NIH/NLM/NCBI) [C] via users" <us...@solr.apache.org> on 2026/07/15 20:34:49 UTC

arrntv namedListStyle must only be used with ArrayOfNameTypeValueJSONWriter

We are upgrading several Solr instances from 9.2.1 to 9.10.1 (updating the software and tweaking parameters in the invocation script, but leaving the data the same for now)

Two of the collections are not allowing me to select, complaining
{
  "error":{
    "msg":"arrntv namedListStyle must only be used with ArrayOfNameTypeValueJSONWriter",
    "trace":"java.lang.UnsupportedOperationException: arrntv namedListStyle must only be used with ArrayOfNameTypeValueJSONWriter\n\tat org.apache.solr.common.util.JsonTextWriter.writeNamedList(JsonTextWriter.java:322)\n\tat...
...
    "code":500
  }

I notice that the select requestHandler in solrconfig.xml for these two collections do have <str name="json.nl">arrntv</str>

But there are seven other collections in the same SolrCloud which also have this same line in the select requestHandler in their solrconfig.xml; and they have no problem running select; I have not yet been able to determine what might make the difference that is special about these two collections out of the nine collections

I plan to continue trial and error; but if anyone has a suggestion, please advise

Thanks



Re:arrntv namedListStyle must only be used with ArrayOfNameTypeValueJSONWriter

Posted by "Christine Poerschke (BLOOMBERG/ LONDON) via users" <us...@solr.apache.org>.
Hi Craig,

It sounds like this might be the https://issues.apache.org/jira/browse/SOLR-17268 issue.

Hope that helps.

-Christine

From: users@solr.apache.org At: 07/15/26 21:35:44 UTC+1:00To:  users@solr.apache.org
Cc:  craig.oakley@nih.gov
Subject: arrntv namedListStyle must only be used with ArrayOfNameTypeValueJSONWriter

We are upgrading several Solr instances from 9.2.1 to 9.10.1 (updating the 
software and tweaking parameters in the invocation script, but leaving the data 
the same for now)

Two of the collections are not allowing me to select, complaining
{
  "error":{
    "msg":"arrntv namedListStyle must only be used with 
ArrayOfNameTypeValueJSONWriter",
    "trace":"java.lang.UnsupportedOperationException: arrntv namedListStyle 
must only be used with ArrayOfNameTypeValueJSONWriter\n\tat 
org.apache.solr.common.util.JsonTextWriter.writeNamedList(JsonTextWriter.java:32
2)\n\tat...
...
    "code":500
  }

I notice that the select requestHandler in solrconfig.xml for these two 
collections do have <str name="json.nl">arrntv</str>

But there are seven other collections in the same SolrCloud which also have 
this same line in the select requestHandler in their solrconfig.xml; and they 
have no problem running select; I have not yet been able to determine what 
might make the difference that is special about these two collections out of 
the nine collections

I plan to continue trial and error; but if anyone has a suggestion, please 
advise

Thanks