[ 
https://issues.apache.org/jira/browse/SOLR-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101858#comment-14101858
 ] 

Steve Davids commented on SOLR-4406:
------------------------------------

Yea, this is a somewhat obscure bug I came across since I wanted to send back a 
raw stream but if an exception occurred I wanted to apply a velocity template 
to the response instead. I will throw some tests together in the next day or 
two.

> 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, 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