lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject svn commit: r950830 - /lucene/dev/trunk/solr/src/java/org/apache/solr/response/BaseResponseWriter.java
Date Wed, 02 Jun 2010 23:59:34 GMT
Author: hossman
Date: Wed Jun  2 23:59:34 2010
New Revision: 950830

URL: http://svn.apache.org/viewvc?rev=950830&view=rev
Log:
SOLR-1935 BaseResponseWriter neglects to add SolrDocument in DocList when isStreamingDocs=false
... no CHANGES.txt entry because this is a bug fix for unreleased code

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

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=950830&r1=950829&r2=950830&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 Wed Jun
 2 23:59:34 2010
@@ -124,6 +124,7 @@ public abstract class BaseResponseWriter
             if (idxInfo.includeScore && docList.hasScores()) {
               sdoc.addField(SCORE_FIELD, iterator.score());
             }
+            list.add(sdoc);
           }
           responseWriter.writeAllDocs(info, list);
         }



Mime
View raw message