public class CompletionSuggestionBuilder extends SuggestBuilder.SuggestionBuilder<CompletionSuggestionBuilder>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
CompletionSuggestionBuilder(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected XContentBuilder |
innerToXContent(XContentBuilder builder,
ToXContent.Params params) |
addCategory, addCategory, addContextField, addContextField, addGeoLocation, addGeoLocation, addGeoLocationWithPrecision, analyzer, field, shardSize, size, text, toXContentbuildAsBytes, buildAsBytes, toStringpublic CompletionSuggestionBuilder(String name)
protected XContentBuilder innerToXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
innerToXContent in class SuggestBuilder.SuggestionBuilder<CompletionSuggestionBuilder>IOExceptionCopyright © 2009–2017. All rights reserved.