mirror of https://github.com/apache/lucene.git
Revert "LUCENE-8017: Don't use ParallelReader in tests"
This reverts commit ff4874f3d3
.
LUCENE-8045 makes this unnecessary
This commit is contained in:
parent
77ea211096
commit
e827f17be5
|
@ -1532,7 +1532,7 @@ public class TestLRUQueryCache extends LuceneTestCase {
|
|||
w.updateNumericDocValue(new Term("text", "text"), "field", 2l);
|
||||
reader.close();
|
||||
reader = DirectoryReader.open(w);
|
||||
searcher = newSearcher(reader, false); // ParallelReader mucks up updated DVs
|
||||
searcher = newSearcher(reader);
|
||||
searcher.setQueryCachingPolicy(QueryCachingPolicy.ALWAYS_CACHE);
|
||||
searcher.setQueryCache(cache);
|
||||
|
||||
|
|
Loading…
Reference in New Issue