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

Noble Paul edited comment on SOLR-11380 at 10/31/17 4:14 AM:
-------------------------------------------------------------

The {{if (contentStream\[0\] instanceof RequestWriter.LazyContentStream)}} 
check is done because the payload size cannot be determined ahead of time. The 
{{ContentStream}} interface is not suitable to generate and write content 
just-in-time. The new {{ContentWriter}} interface is similar to our 
{{QueryResponseWriter}} interface.  


was (Author: noble.paul):
The {{ if (contentStream\[0\]  instanceof RequestWriter.LazyContentStream)}} 
check is done because the payload size cannot be determined ahead of time. The 
{{ContentStream}} interface is not suitable to generate and write content 
just-in-time. The new {{ContentWriter}} interface is similar to our 
{{QueryResponseWriter}} interface.  

> SolrJ must stream docs to server instead of writing to a byte[] first 
> ----------------------------------------------------------------------
>
>                 Key: SOLR-11380
>                 URL: https://issues.apache.org/jira/browse/SOLR-11380
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>         Attachments: SOLR-11380.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to