From d3bd1090a799ddbd89f8afa9b9cc1210c25bcec7 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Thu, 16 Jul 2009 15:22:30 +0000 Subject: [PATCH] SOLR-1284: fix initial docID git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@794716 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/search/SortedIntDocSet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/solr/search/SortedIntDocSet.java b/src/java/org/apache/solr/search/SortedIntDocSet.java index b324316231b..28dc6cb68f1 100755 --- a/src/java/org/apache/solr/search/SortedIntDocSet.java +++ b/src/java/org/apache/solr/search/SortedIntDocSet.java @@ -592,7 +592,7 @@ public class SortedIntDocSet extends DocSetBase { public DocIdSetIterator iterator() throws IOException { return new DocIdSetIterator() { int idx = startIdx; - int adjustedDoc; + int adjustedDoc = -1; public int doc() { return adjustedDoc;