public static final class MoreLikeThisQueryBuilder.Item extends MultiGetRequest.Item implements ToXContent
ToXContent.DelegatingMapParams , ToXContent.MapParams , ToXContent.Params IndicesRequest.Replaceable EMPTY_PARAMS| Constructor and Description |
|---|
Item()
|
Item(String
|
| Modifier and Type | Method and Description |
|---|---|
BytesReference |
doc()
|
MoreLikeThisQueryBuilder |
doc(XContentBuilder
|
XContentBuilder |
toXContent(XContentBuilder
|
equals, fetchSourceContext, fetchSourceContext, fields, fields, hashCode, id, index, index, indices, indicesOptions, parent, readFrom, readItem, routing, routing, type, type, version, version, versionType, versionType, writeTopublic BytesReferencedoc()
public MoreLikeThisQueryBuilder.Item doc(XContentBuilder doc)
public XContentBuildertoXContent(XContentBuilder builder, ToXContent .Params params) throws IOException
toXContent in interface
ToXContent
IOException