Class CompletionSuggestion.Entry
org.elasticsearch.search.suggest.Suggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>
org.elasticsearch.search.suggest.completion.CompletionSuggestion.Entry
- All Implemented Interfaces:
<CompletionSuggestion.Entry.Option>
,Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
- Enclosing class:
- CompletionSuggestion
public static final class CompletionSuggestion.Entry
extends Suggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.elasticsearch.search.suggest.Suggest.Suggestion.Entry
length, offset, options, OPTIONS, text
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletionSuggestion.Entry
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
protected CompletionSuggestion.Entry.Option
newOption(StreamInput in)
Methods inherited from class org.elasticsearch.search.suggest.Suggest.Suggestion.Entry
addOption, addOptions, declareCommonFields, equals, getLength, getOffset, getOptions, getText, hashCode, iterator, merge, reduce, sort, toXContent, writeTo
Methods inherited from class java.lang.
, , , , , , , ,
Methods inherited from interface java.lang.
,
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
Entry
-
Entry
- Throws:
-
-
Method Details
-
newOption
- Specified by:
newOption
in classSuggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>
- Throws:
-
fromXContent
public static CompletionSuggestion.Entry fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
-