mirror of https://github.com/apache/lucene.git
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:
parent
3c02e971ea
commit
d3bd1090a7
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue