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

Add constructor to JSONWriter which takes wrapperFunction and namedListStyle

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.3, 7.0
    • None
    • None

    Description

      Currently JSONWriter's constructor extracts the wrapperFunction and namedListStyle from the request.

      This patch adds a new constructor where these are passed in from JSONResponseWriter. This will allow us to decide in JSONResponseWriter which writer to construct based on the named list style.

      There is precedent here - GeoJSONResponseWriter extracts geofield from the request and passes it to GeoJSONWriter.

      Attachments

        1. SOLR-9551.patch
          3 kB
          Christine Poerschke
        2. SOLR-9551.patch
          4 kB
          Jonny Marks

        Issue Links

        Activity

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

          People

            cpoerschke Christine Poerschke
            jm100 Jonny Marks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment