risdenk commented on code in PR #1478:
URL: https://github.com/apache/solr/pull/1478#discussion_r1146253545


##########
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:
   Thanks @dsmiley I like the changes you made in c6cf531



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

Reply via email to