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