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:
Michael McCandless 2010-06-24 10:02:34 +00:00
parent e92a91ed18
commit a9947aeb8d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}