lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r1685812 - /lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/response/BinaryResponseWriter.java
Date Tue, 16 Jun 2015 12:53:39 GMT
Author: noble
Date: Tue Jun 16 12:53:39 2015
New Revision: 1685812

URL: http://svn.apache.org/r1685812
Log:
SOLR-7662: failed test GetByIdTest

Modified:
    lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/response/BinaryResponseWriter.java

Modified: lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/response/BinaryResponseWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/response/BinaryResponseWriter.java?rev=1685812&r1=1685811&r2=1685812&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/response/BinaryResponseWriter.java
(original)
+++ lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/response/BinaryResponseWriter.java
Tue Jun 16 12:53:39 2015
@@ -160,7 +160,7 @@ public class BinaryResponseWriter implem
       Resolver resolver = new Resolver(req, rsp.getReturnFields());
 
       ByteArrayOutputStream out = new ByteArrayOutputStream();
-      new JavaBinCodec(resolver).marshal(rsp.getValues(), out);
+      new JavaBinCodec(resolver).setWritableDocFields(resolver).marshal(rsp.getValues(),
out);
 
       InputStream in = new ByteArrayInputStream(out.toByteArray());
       return (NamedList<Object>) new JavaBinCodec(resolver).unmarshal(in);



Mime
View raw message