mirror of https://github.com/apache/lucene.git
fix QueryUtils (for tests) to track lastReader correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@957481 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e92a91ed18
commit
a9947aeb8d
|
@ -350,7 +350,7 @@ public class QueryUtils {
|
|||
Assert.assertFalse("query's last doc was "+ lastDoc[0] +" but skipTo("+(lastDoc[0]+1)+") got to "+scorer.docID(),more);
|
||||
}
|
||||
}
|
||||
this.reader = reader;
|
||||
this.reader = lastReader[0] = reader;
|
||||
this.scorer = null;
|
||||
lastDoc[0] = -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue