mirror of https://github.com/apache/lucene.git
don't use slow composite reader in this test
This commit is contained in:
parent
0ab23fd1f5
commit
7c527cc346
|
@ -480,7 +480,7 @@ public abstract class ThreadedIndexingAndSearchingTestCase extends LuceneTestCas
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IndexSearcher searcher = newSearcher(reader);
|
IndexSearcher searcher = newSearcher(reader, false);
|
||||||
sum += searcher.search(new TermQuery(new Term("body", "united")), 10).totalHits;
|
sum += searcher.search(new TermQuery(new Term("body", "united")), 10).totalHits;
|
||||||
|
|
||||||
if (VERBOSE) {
|
if (VERBOSE) {
|
||||||
|
|
Loading…
Reference in New Issue