public abstract static class PhraseSuggestionBuilder.SmoothingModel extends Object implements ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Modifier | Constructor and Description |
---|---|
protected |
PhraseSuggestionBuilder.SmoothingModel(String type) |
Modifier and Type | Method and Description |
---|---|
protected abstract XContentBuilder |
innerToXContent(XContentBuilder builder,
ToXContent.Params params) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
protected PhraseSuggestionBuilder.SmoothingModel(String type)
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
protected abstract XContentBuilder innerToXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.