public class ExistsQueryBuilder extends QueryBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
ExistsQueryBuilder(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
ExistsQueryBuilder |
queryName(String queryName)
Sets the query name for the query that can be used when searching for matched_queries per hit.
|
toXContentbuildAsBytes, buildAsBytes, toStringpublic ExistsQueryBuilder(String name)
public ExistsQueryBuilder queryName(String queryName)
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent in class QueryBuilderIOExceptionCopyright © 2009–2017. All rights reserved.