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

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            rwhaddad Ramsey Haddad

            Dates

              Created:
              Updated:

              Slack

                Issue deployment