diff --git a/lucene/core/src/test/org/apache/lucene/search/TestLRUQueryCache.java b/lucene/core/src/test/org/apache/lucene/search/TestLRUQueryCache.java index 77086a958c5..094318a42f4 100644 --- a/lucene/core/src/test/org/apache/lucene/search/TestLRUQueryCache.java +++ b/lucene/core/src/test/org/apache/lucene/search/TestLRUQueryCache.java @@ -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);