public static class TermSuggestion.Entry extends Suggest.Suggestion.Entry<TermSuggestion.Entry.Option>
Modifier and Type | Class and Description |
---|---|
static class |
TermSuggestion.Entry.Option
Contains the suggested text with its document frequency and score.
|
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
length, offset, options, text
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
protected TermSuggestion.Entry.Option |
newOption() |
addOption, equals, getLength, getOffset, getOptions, getText, hashCode, iterator, merge, readFrom, reduce, sort, toXContent, writeTo
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFragment
protected TermSuggestion.Entry.Option newOption()
newOption
in class Suggest.Suggestion.Entry<TermSuggestion.Entry.Option>