Class TermSuggestion.Frequency
java.lang.Object
org.elasticsearch.search.suggest.term.TermSuggestion.Frequency
- All Implemented Interfaces:
java.util.Comparator<Suggest.Suggestion.Entry.Option>
- Enclosing class:
- TermSuggestion
public static class TermSuggestion.Frequency extends java.lang.Object implements java.util.Comparator<Suggest.Suggestion.Entry.Option>
-
Constructor Summary
Constructors Constructor Description Frequency()
-
Method Summary
Modifier and Type Method Description int
compare(Suggest.Suggestion.Entry.Option first, Suggest.Suggestion.Entry.Option second)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
Frequency
public Frequency()
-
-
Method Details
-
compare
- Specified by:
compare
in interfacejava.util.Comparator<Suggest.Suggestion.Entry.Option>
-