Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17268

Solr 9.3-9.6 (JacksonJsonWriter) does not support "json.nl=arrntv"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 9.3, 9.4, 9.5, 9.4.1, 9.6
    • None
    • Response Writers
    • None

    Description

      Asking for facets and using "json.nl=arrntv" results in the exception:

      arrntv namedListStyle must only be used with ArrayOfNameTypeValueJSONWriter
      • 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
        <queryResponseWriter name="json" class="solr.JSONResponseWriter" />
        

        in solrconfig.xml is a successful workaround.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rwhaddad Ramsey Haddad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: