You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Davids (JIRA)" <ji...@apache.org> on 2014/08/19 05:25:19 UTC
[jira] [Updated] (SOLR-4406) RawResponseWriter - doesn't use the
configured "base" writer.
[ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org