From 89b97c1c8d6ef7ebbc3881382db3f89600d2a30b Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Tue, 7 Apr 2015 20:04:54 +0200 Subject: [PATCH] Upgrade to lucene-5.1.0-snapshot-1671894. This includes a fix for LUCENE-6406. --- pom.xml | 4 ++-- .../org/elasticsearch/test/ElasticsearchLuceneTestCase.java | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index e79e0fcbc9e..0059a4e9ee4 100644 --- a/pom.xml +++ b/pom.xml @@ -32,7 +32,7 @@ 5.1.0 - 5.1.0-snapshot-1671277 + 5.1.0-snapshot-1671894 auto true onerror @@ -66,7 +66,7 @@ lucene-snapshots Lucene Snapshots - https://download.elastic.co/lucenesnapshots/1671277 + https://download.elastic.co/lucenesnapshots/1671894 diff --git a/src/test/java/org/elasticsearch/test/ElasticsearchLuceneTestCase.java b/src/test/java/org/elasticsearch/test/ElasticsearchLuceneTestCase.java index c106b853c68..994d3874d98 100644 --- a/src/test/java/org/elasticsearch/test/ElasticsearchLuceneTestCase.java +++ b/src/test/java/org/elasticsearch/test/ElasticsearchLuceneTestCase.java @@ -69,10 +69,4 @@ public abstract class ElasticsearchLuceneTestCase extends LuceneTestCase { public static int scaledRandomIntBetween(int min, int max) { return RandomizedTest.scaledRandomIntBetween(min, max); } - - @AfterClass - public static void clearDefaultQueryCache() { - // TODO: remove me when https://issues.apache.org/jira/browse/LUCENE-6406 is fixed - IndexSearcher.setDefaultQueryCache(null); - } }