risdenk commented on code in PR #1478:
URL: https://github.com/apache/solr/pull/1478#discussion_r1145654825
##########
solr/core/src/java/org/apache/solr/client/solrj/embedded/EmbeddedSolrServer.java:
##########
@@ -251,7 +251,7 @@ public void writeResults(ResultContext ctx, JavaBinCodec
codec) throws IOExcepti
.setWritableDocFields(resolver)
.marshal(rsp.getValues(), out);
- try (InputStream in = out.toInputStream()) {
+ try (ByteArrayInputStream in = new
ByteArrayInputStream(out.toByteArray())) {
Review Comment:
Take a look at f03649c15ace75d8e3ce99960a9412dc386a7501 and see what you
think
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]