BoolQueryBuilder
instead@Deprecated public class AndQueryBuilder extends QueryBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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.
|
toXContent
buildAsBytes, buildAsBytes, toString
public 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 QueryBuilder
IOException
Copyright © 2009–2016. All rights reserved.