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 index,
String type,
String id) |
Modifier and Type | Method and Description |
---|---|
BytesReference |
doc() |
MoreLikeThisQueryBuilder.Item |
doc(XContentBuilder doc) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
equals, fetchSourceContext, fetchSourceContext, fields, fields, hashCode, id, index, index, indices, indicesOptions, parent, readFrom, readItem, routing, routing, type, type, version, version, versionType, versionType, writeTo
public BytesReference doc()
public MoreLikeThisQueryBuilder.Item doc(XContentBuilder doc)
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2015. All rights reserved.