diff options
author | Tanguy Leroux <tlrx.dev@gmail.com> | 2016-07-01 13:05:41 +0200 |
---|---|---|
committer | Tanguy Leroux <tlrx.dev@gmail.com> | 2016-07-01 17:01:39 +0200 |
commit | 0a293fad29311da1a7472e2faf6790fc34f26ae2 (patch) | |
tree | a593d00c8461df81570403061488fb0c31421ec0 /core/src/main/java/org/elasticsearch/search/suggest/completion | |
parent | 8c40b2b54eac3e3ab3c41ece5c758be75173191b (diff) |
Remove some unused code
Diffstat (limited to 'core/src/main/java/org/elasticsearch/search/suggest/completion')
-rw-r--r-- | core/src/main/java/org/elasticsearch/search/suggest/completion/CompletionSuggestion.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/main/java/org/elasticsearch/search/suggest/completion/CompletionSuggestion.java b/core/src/main/java/org/elasticsearch/search/suggest/completion/CompletionSuggestion.java index 2d10a5b703..0c209e00a7 100644 --- a/core/src/main/java/org/elasticsearch/search/suggest/completion/CompletionSuggestion.java +++ b/core/src/main/java/org/elasticsearch/search/suggest/completion/CompletionSuggestion.java @@ -98,7 +98,6 @@ public final class CompletionSuggestion extends Suggest.Suggestion<CompletionSug // combine suggestion entries from participating shards on the coordinating node // the global top <code>size</code> entries are collected from the shard results // using a priority queue - Comparator<Suggest.Suggestion.Entry.Option> optionComparator = sortComparator(); OptionPriorityQueue priorityQueue = new OptionPriorityQueue(size, sortComparator()); for (Suggest.Suggestion<Entry> entries : toReduce) { assert entries.getEntries().size() == 1 : "CompletionSuggestion must have only one entry"; |