public static final class CompletionSuggestion.Entry extends Suggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>
| Modifier and Type | Class and Description |
|---|---|
static class |
CompletionSuggestion.Entry.Option |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Paramslength, offset, options, OPTIONS, textEMPTY_PARAMS| Constructor and Description |
|---|
Entry(Text text,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
static CompletionSuggestion.Entry |
fromXContent(XContentParser parser) |
protected CompletionSuggestion.Entry.Option |
newOption() |
addOption, addOptions, declareCommonFields, equals, getLength, getOffset, getOptions, getText, hashCode, iterator, merge, readFrom, reduce, sort, toXContent, writeToclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic Entry(Text text, int offset, int length)
protected CompletionSuggestion.Entry.Option newOption()
newOption in class Suggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>public static CompletionSuggestion.Entry fromXContent(XContentParser parser)