lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r794716 - /lucene/solr/trunk/src/java/org/apache/solr/search/SortedIntDocSet.java
Date Thu, 16 Jul 2009 15:22:31 GMT
Author: yonik
Date: Thu Jul 16 15:22:30 2009
New Revision: 794716

URL: http://svn.apache.org/viewvc?rev=794716&view=rev
Log:
SOLR-1284: fix initial docID

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/search/SortedIntDocSet.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/search/SortedIntDocSet.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/SortedIntDocSet.java?rev=794716&r1=794715&r2=794716&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/SortedIntDocSet.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/SortedIntDocSet.java Thu Jul 16 15:22:30
2009
@@ -592,7 +592,7 @@
           public DocIdSetIterator iterator() throws IOException {
             return new DocIdSetIterator() {
               int idx = startIdx;
-              int adjustedDoc;
+              int adjustedDoc = -1;
 
               public int doc() {
                 return adjustedDoc;



Mime
View raw message