Module org.elasticsearch.server
Class CompletionSuggestion.Entry
java.lang.Object
org.elasticsearch.search.suggest.Suggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>
org.elasticsearch.search.suggest.completion.CompletionSuggestion.Entry
- All Implemented Interfaces:
Iterable<CompletionSuggestion.Entry.Option>,Writeable,ToXContent,ToXContentFragment
- Enclosing class:
CompletionSuggestion
public static final class CompletionSuggestion.Entry
extends Suggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested 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, textFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletionSuggestion.Entry.OptionnewOption(StreamInput in) Methods inherited from class org.elasticsearch.search.suggest.Suggest.Suggestion.Entry
addOption, addOptions, equals, getLength, getOffset, getOptions, getText, hashCode, iterator, merge, reduce, sort, toXContent, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
Entry
-
Entry
public Entry() -
Entry
- Throws:
IOException
-
-
Method Details
-
newOption
- Specified by:
newOptionin classSuggest.Suggestion.Entry<CompletionSuggestion.Entry.Option>- Throws:
IOException
-