From 5ae810991ca5cf3862919a6a4fa1629381741b0b Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Tue, 13 Oct 2015 00:43:12 +0200 Subject: [PATCH] Upgrade to lucene-5.4-snapshot-1708254. --- .../lucene/search/suggest/analyzing/XAnalyzingSuggester.java | 2 +- .../org/elasticsearch/index/query/GeoShapeQueryBuilder.java | 5 ++--- .../test/java/org/elasticsearch/search/geo/GeoFilterIT.java | 2 +- .../lucene-analyzers-common-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../lucene-analyzers-common-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../lucene-backward-codecs-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../lucene-backward-codecs-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../licenses/lucene-core-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../licenses/lucene-core-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../licenses/lucene-grouping-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../licenses/lucene-grouping-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../lucene-highlighter-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../lucene-highlighter-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../licenses/lucene-join-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../licenses/lucene-join-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../licenses/lucene-memory-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../licenses/lucene-memory-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../licenses/lucene-misc-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../licenses/lucene-misc-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../licenses/lucene-queries-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../licenses/lucene-queries-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../lucene-queryparser-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../lucene-queryparser-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../licenses/lucene-sandbox-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../licenses/lucene-sandbox-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../licenses/lucene-spatial-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../licenses/lucene-spatial-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../lucene-spatial3d-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../lucene-spatial3d-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../licenses/lucene-suggest-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../licenses/lucene-suggest-5.4.0-snapshot-1708254.jar.sha1 | 1 + distribution/licenses/spatial4j-0.5-tests.jar.sha1 | 1 + .../lucene-analyzers-icu-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../lucene-analyzers-icu-5.4.0-snapshot-1708254.jar.sha1 | 1 + ...lucene-analyzers-kuromoji-5.4.0-snapshot-1702855.jar.sha1 | 1 - ...lucene-analyzers-kuromoji-5.4.0-snapshot-1708254.jar.sha1 | 1 + ...lucene-analyzers-phonetic-5.4.0-snapshot-1702855.jar.sha1 | 1 - ...lucene-analyzers-phonetic-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../lucene-analyzers-smartcn-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../lucene-analyzers-smartcn-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../lucene-analyzers-stempel-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../lucene-analyzers-stempel-5.4.0-snapshot-1708254.jar.sha1 | 1 + .../lucene-expressions-5.4.0-snapshot-1702855.jar.sha1 | 1 - .../lucene-expressions-5.4.0-snapshot-1708254.jar.sha1 | 1 + pom.xml | 2 +- 45 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 distribution/licenses/lucene-analyzers-common-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-analyzers-common-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-backward-codecs-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-backward-codecs-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-core-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-core-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-grouping-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-grouping-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-highlighter-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-highlighter-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-join-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-join-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-memory-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-memory-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-misc-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-misc-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-queries-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-queries-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-queryparser-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-queryparser-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-sandbox-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-sandbox-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-spatial-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-spatial-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-spatial3d-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-spatial3d-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 distribution/licenses/lucene-suggest-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 distribution/licenses/lucene-suggest-5.4.0-snapshot-1708254.jar.sha1 create mode 100644 distribution/licenses/spatial4j-0.5-tests.jar.sha1 delete mode 100644 plugins/analysis-icu/licenses/lucene-analyzers-icu-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 plugins/analysis-icu/licenses/lucene-analyzers-icu-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 plugins/analysis-kuromoji/licenses/lucene-analyzers-kuromoji-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 plugins/analysis-kuromoji/licenses/lucene-analyzers-kuromoji-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 plugins/analysis-phonetic/licenses/lucene-analyzers-phonetic-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 plugins/analysis-phonetic/licenses/lucene-analyzers-phonetic-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 plugins/analysis-smartcn/licenses/lucene-analyzers-smartcn-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 plugins/analysis-smartcn/licenses/lucene-analyzers-smartcn-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 plugins/analysis-stempel/licenses/lucene-analyzers-stempel-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 plugins/analysis-stempel/licenses/lucene-analyzers-stempel-5.4.0-snapshot-1708254.jar.sha1 delete mode 100644 plugins/lang-expression/licenses/lucene-expressions-5.4.0-snapshot-1702855.jar.sha1 create mode 100644 plugins/lang-expression/licenses/lucene-expressions-5.4.0-snapshot-1708254.jar.sha1 diff --git a/core/src/main/java/org/apache/lucene/search/suggest/analyzing/XAnalyzingSuggester.java b/core/src/main/java/org/apache/lucene/search/suggest/analyzing/XAnalyzingSuggester.java index b2b23a29981..a6077f8e842 100644 --- a/core/src/main/java/org/apache/lucene/search/suggest/analyzing/XAnalyzingSuggester.java +++ b/core/src/main/java/org/apache/lucene/search/suggest/analyzing/XAnalyzingSuggester.java @@ -453,7 +453,7 @@ public long ramBytesUsed() { @Override public void build(InputIterator iterator) throws IOException { String prefix = getClass().getSimpleName(); - Path directory = OfflineSorter.defaultTempDir(); + Path directory = OfflineSorter.getDefaultTempDir(); Path tempInput = Files.createTempFile(directory, prefix, ".input"); Path tempSorted = Files.createTempFile(directory, prefix, ".sorted"); diff --git a/core/src/main/java/org/elasticsearch/index/query/GeoShapeQueryBuilder.java b/core/src/main/java/org/elasticsearch/index/query/GeoShapeQueryBuilder.java index 72c226f8b00..dfe767b3bc6 100644 --- a/core/src/main/java/org/elasticsearch/index/query/GeoShapeQueryBuilder.java +++ b/core/src/main/java/org/elasticsearch/index/query/GeoShapeQueryBuilder.java @@ -22,7 +22,6 @@ package org.elasticsearch.index.query; import org.apache.lucene.search.BooleanClause; import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.ConstantScoreQuery; -import org.apache.lucene.search.Filter; import org.apache.lucene.search.Query; import org.apache.lucene.spatial.prefix.PrefixTreeStrategy; import org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy; @@ -294,12 +293,12 @@ public class GeoShapeQueryBuilder extends AbstractQueryBuilder 5.4.0 - 1702855 + 1708254 5.4.0-snapshot-${lucene.snapshot.revision} 2.1.17 2.6.2