You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jonny Marks (JIRA)" <ji...@apache.org> on 2016/09/22 10:25:20 UTC

[jira] [Created] (SOLR-9551) Add constructor to JSONWriter which takes wrapperFunction and namedListStyle

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org