lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject svn commit: r1037965 - in /lucene/dev/trunk/solr: CHANGES.txt src/java/org/apache/solr/response/BaseResponseWriter.java
Date Tue, 23 Nov 2010 01:58:51 GMT
Author: hossman
Date: Tue Nov 23 01:58:51 2010
New Revision: 1037965

URL: http://svn.apache.org/viewvc?rev=1037965&view=rev
Log:
SOLR-2081: fix BaseResponseWriter so SingleResponseWriter.end is only called once

Modified:
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/src/java/org/apache/solr/response/BaseResponseWriter.java

Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1037965&r1=1037964&r2=1037965&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Tue Nov 23 01:58:51 2010
@@ -554,6 +554,10 @@ Bug Fixes
 * SOLR-2221: Use StrUtils.parseBool() to get values of boolean options in DIH.
   true/on/yes (for TRUE) and false/off/no (for FALSE) can be used for sub-options
   (debug, verbose, synchronous, commit, clean, optimize) for full/delta-import commands.
(koji)
+
+* SOLR-2081: BaseResponseWriter.isStreamingDocs causes
+  SingleResponseWriter.end to be called 2x 
+  (Chris A. Mattmann via hossman) 
   
 Other Changes
 ----------------------

Modified: lucene/dev/trunk/solr/src/java/org/apache/solr/response/BaseResponseWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/src/java/org/apache/solr/response/BaseResponseWriter.java?rev=1037965&r1=1037964&r2=1037965&view=diff
==============================================================================
--- lucene/dev/trunk/solr/src/java/org/apache/solr/response/BaseResponseWriter.java (original)
+++ lucene/dev/trunk/solr/src/java/org/apache/solr/response/BaseResponseWriter.java Tue Nov
23 01:58:51 2010
@@ -115,7 +115,6 @@ public abstract class BaseResponseWriter
             }
             responseWriter.writeDoc(sdoc);
           }
-          responseWriter.end();
         } else {
           ArrayList<SolrDocument> list = new ArrayList<SolrDocument>(docList
               .size());



Mime
View raw message