Revert "LUCENE-8017: Don't use ParallelReader in tests"

This reverts commit ff4874f3d3.

LUCENE-8045 makes this unnecessary
This commit is contained in:
Alan Woodward 2017-11-09 13:31:45 +00:00
parent 77ea211096
commit e827f17be5
1 changed files with 1 additions and 1 deletions

View File

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