lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romseyg...@apache.org
Subject [4/4] lucene-solr:master: Revert "LUCENE-8017: Don't use ParallelReader in tests"
Date Thu, 09 Nov 2017 14:03:17 GMT
Revert "LUCENE-8017: Don't use ParallelReader in tests"

This reverts commit ff4874f3d3ff6c307121a6a1f6d87a33d45a48a4.

LUCENE-8045 makes this unnecessary


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/e827f17b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/e827f17b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/e827f17b

Branch: refs/heads/master
Commit: e827f17be59d6f505cd920756e3ce780d30e2eb2
Parents: 77ea211
Author: Alan Woodward <romseygeek@apache.org>
Authored: Thu Nov 9 13:31:45 2017 +0000
Committer: Alan Woodward <romseygeek@apache.org>
Committed: Thu Nov 9 14:02:57 2017 +0000

----------------------------------------------------------------------
 .../core/src/test/org/apache/lucene/search/TestLRUQueryCache.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/e827f17b/lucene/core/src/test/org/apache/lucene/search/TestLRUQueryCache.java
----------------------------------------------------------------------
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 77086a9..094318a 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);
 


Mime
View raw message