lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11380) SolrJ must stream docs to server instead of writing to a byte[] first
Date Tue, 31 Oct 2017 04:09:00 GMT

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

Noble Paul commented on SOLR-11380:
-----------------------------------

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message