[
https://issues.apache.org/jira/browse/SOLR-17268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramsey Haddad updated SOLR-17268:
---------------------------------
Description:
Asking for facets and using "json.nl=arrntv" results in the exception:
{code:java}
arrntv namedListStyle must only be used with
ArrayOfNameTypeValueJSONWriter{code}
* Code inspection shows that ArrayOfNameTypeValueJSONWriter is supported by the
older JSONResponseWriter and not by the newer JacksonJsonWriter.
* Running a facet query with "json.nl=arrntv" works for 9.2.0 and 9.2.1
* Running a facet query with "json.nl=arrntv" fails (Exception/500) for 9.3.0
and 9.6.0
* For 9.3.0, using
{code:java}
<queryResponseWriter name="json" class="solr.JSONResponseWriter" />
{code}
in solrconfig.xml is a successful workaround.
was:
Asking for facets and using "json.nl=arrntv" results in the exception:
{code:java}
arrntv namedListStyle must only be used with
ArrayOfNameTypeValueJSONWriter{code}
* Code inspection shows that ArrayOfNameTypeValueJSONWriter is supported by the
older JSONResponseWriter and not by the newer JacksonJsonWriter.
* Running a facet query with "json.nl=arrntv" works for 9.2.0 and 9.2.1
* Running a facet query with "json.nl=arrntv" fails (Exception/500) for 9.3.0
* For 9.3.0, using
{code:java}
<queryResponseWriter name="json" class="solr.JSONResponseWriter" />
{code}
in solrconfig.xml is a successful workaround.
> Solr 9.3-9.6 (JacksonJsonWriter) does not support "json.nl=arrntv"
> ------------------------------------------------------------------
>
> Key: SOLR-17268
> URL: https://issues.apache.org/jira/browse/SOLR-17268
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Response Writers
> Affects Versions: 9.3, 9.4, 9.4.1, 9.6, 9.5.0
> Reporter: Ramsey Haddad
> Priority: Minor
>
> Asking for facets and using "json.nl=arrntv" results in the exception:
> {code:java}
> arrntv namedListStyle must only be used with
> ArrayOfNameTypeValueJSONWriter{code}
> * Code inspection shows that ArrayOfNameTypeValueJSONWriter is supported by
> the older JSONResponseWriter and not by the newer JacksonJsonWriter.
> * Running a facet query with "json.nl=arrntv" works for 9.2.0 and 9.2.1
> * Running a facet query with "json.nl=arrntv" fails (Exception/500) for 9.3.0
> and 9.6.0
> * For 9.3.0, using
> {code:java}
> <queryResponseWriter name="json" class="solr.JSONResponseWriter" />
> {code}
> in solrconfig.xml is a successful workaround.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]