mirror of https://github.com/apache/lucene.git
LUCENE-9620: Fix TestTermQuery failure.
This commit is contained in:
parent
de661d6535
commit
4bb018e904
|
@ -119,7 +119,7 @@ public class TestTermQuery extends LuceneTestCase {
|
|||
}
|
||||
w.addDocument(doc);
|
||||
}
|
||||
w.commit();
|
||||
w.forceMerge(1);
|
||||
|
||||
DirectoryReader reader = w.getReader();
|
||||
final IndexSearcher searcher = new IndexSearcher(reader);
|
||||
|
|
Loading…
Reference in New Issue