Merge pull request #10468 from jpountz/upgrade/5.1.0-snapshot-1671894

Upgrade to lucene-5.1.0-snapshot-1671894.
This commit is contained in:
Adrien Grand 2015-04-07 20:07:18 +02:00
commit a24d898b3a
2 changed files with 2 additions and 8 deletions

View File

@ -32,7 +32,7 @@
<properties>
<lucene.version>5.1.0</lucene.version>
<lucene.maven.version>5.1.0-snapshot-1671277</lucene.maven.version>
<lucene.maven.version>5.1.0-snapshot-1671894</lucene.maven.version>
<tests.jvms>auto</tests.jvms>
<tests.shuffle>true</tests.shuffle>
<tests.output>onerror</tests.output>
@ -66,7 +66,7 @@
<repository>
<id>lucene-snapshots</id>
<name>Lucene Snapshots</name>
<url>https://download.elastic.co/lucenesnapshots/1671277</url>
<url>https://download.elastic.co/lucenesnapshots/1671894</url>
</repository>
</repositories>

View File

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