SOLR-1284: fix initial docID

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@794716 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2009-07-16 15:22:30 +00:00
parent 3c02e971ea
commit d3bd1090a7
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ public class SortedIntDocSet extends DocSetBase {
public DocIdSetIterator iterator() throws IOException { public DocIdSetIterator iterator() throws IOException {
return new DocIdSetIterator() { return new DocIdSetIterator() {
int idx = startIdx; int idx = startIdx;
int adjustedDoc; int adjustedDoc = -1;
public int doc() { public int doc() {
return adjustedDoc; return adjustedDoc;