BoolQueryBuilder instead@Deprecated public class AndQueryBuilder extends QueryBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
AndQueryBuilder(QueryBuilder... filters)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AndQueryBuilder |
add(QueryBuilder filterBuilder)
Deprecated.
Adds a filter to the list of filters to "and".
|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params)
Deprecated.
|
AndQueryBuilder |
queryName(String queryName)
Deprecated.
Sets the filter name for the filter that can be used when searching for matched_filters per hit.
|
toXContentbuildAsBytes, buildAsBytes, toStringpublic AndQueryBuilder(QueryBuilder... filters)
public AndQueryBuilder add(QueryBuilder filterBuilder)
public AndQueryBuilder queryName(String queryName)
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent in class QueryBuilderIOExceptionCopyright © 2009–2017. All rights reserved.