mirror of https://github.com/apache/lucene.git
small fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821344 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
834a116608
commit
30efdc5249
|
@ -48,7 +48,7 @@ public class TestMatchAllDocsQuery extends LuceneTestCase {
|
|||
addDoc("three four", iw, 300f);
|
||||
iw.close();
|
||||
|
||||
IndexReader ir = IndexReader.open(dir, true);
|
||||
IndexReader ir = IndexReader.open(dir, false);
|
||||
IndexSearcher is = new IndexSearcher(ir);
|
||||
ScoreDoc[] hits;
|
||||
|
||||
|
|
Loading…
Reference in New Issue