Jonny Marks created SOLR-9551:
---------------------------------

             Summary: Add constructor to JSONWriter which takes wrapperFunction 
and namedListStyle
                 Key: SOLR-9551
                 URL: https://issues.apache.org/jira/browse/SOLR-9551
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Jonny Marks
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to