public class CompletionSuggestionBuilder extends SuggestBuilder.SuggestionBuilder<CompletionSuggestionBuilder>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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, toXContent
buildAsBytes, buildAsBytes, toString
public CompletionSuggestionBuilder(String name)
protected XContentBuilder innerToXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
innerToXContent
in class SuggestBuilder.SuggestionBuilder<CompletionSuggestionBuilder>
IOException
Copyright © 2009–2016. All rights reserved.