Class TermSuggestion.Score
java.lang.Object
org.elasticsearch.search.suggest.term.TermSuggestion.Score
- All Implemented Interfaces:
java.util.Comparator<Suggest.Suggestion.Entry.Option>
- Enclosing class:
- TermSuggestion
public static class TermSuggestion.Score extends java.lang.Object implements java.util.Comparator<Suggest.Suggestion.Entry.Option>
-
Constructor Summary
Constructors Constructor Description Score()
-
Method Summary
Modifier and Type Method Description int
compare(Suggest.Suggestion.Entry.Option first, Suggest.Suggestion.Entry.Option second)
-
Constructor Details
-
Score
public Score()
-
-
Method Details
-
compare
- Specified by:
compare
in interfacejava.util.Comparator<Suggest.Suggestion.Entry.Option>
-