[ 
https://issues.apache.org/jira/browse/SOLR-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Davids updated SOLR-4406:
-------------------------------

    Attachment: SOLR-4406.patch

Attached a patch which allows the RawResponseWriter to honor it's contract:

--snip--
..if no such ContentStream has been added, then a "base" QueryResponseWriter 
will be used to write the response according to the usual contract...
--snip--

Performed some minor refactoring to provide a single method to write query 
responses to an output stream.

> RawResponseWriter - doesn't use the configured "base" writer.
> -------------------------------------------------------------
>
>                 Key: SOLR-4406
>                 URL: https://issues.apache.org/jira/browse/SOLR-4406
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>    Affects Versions: 4.0
>            Reporter: Steve Davids
>         Attachments: SOLR-4406.patch
>
>
> The RawResponseWriter accepts a configuration value for a "base" 
> ResponseWriter if no ContentStream can be detected. The line of code is 
> commented out that would allow this secondary response writer to work. It 
> would be great to uncomment the line and provide an OutputStreamWriter as the 
> writer argument.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to