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

Add constructor to JSONWriter which takes wrapperFunction and namedListStyle

    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
          4 kB
          Jonny Marks
        2. SOLR-9551.patch
          3 kB
          Christine Poerschke

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: