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

Add constructor to JSONWriter which takes wrapperFunction and namedListStyle

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: