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

Jason Rutherglen commented on SOLR-578:
---------------------------------------

It is incongruous to have SolrQueryRequest.getContentStreams() but nothing 
similar for SolrQueryResponse.  If BinaryQueryResponseWriter is used, the logic 
for handling the request would go in the class that implements it, what is the 
purpose of the RequestHandler in this case?  The purpose of 
BinaryQueryResponseWriter is to allow encoding the normal Solr result objects 
into a binary format.  A RequestHandler that only returns binary and does not 
use the SolrQueryResponse.add() or similar methods for encoding objects is out 
of place using BinaryQueryResponseWriter.  

> Binary stream response for request
> ----------------------------------
>
>                 Key: SOLR-578
>                 URL: https://issues.apache.org/jira/browse/SOLR-578
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Jason Rutherglen
>
> Allow sending binary response back from request.  This is not the same as 
> encoding in binary such as BinaryQueryResponseWriter.  Simply need access to 
> servlet response stream for sending something like a Lucene segment.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to