ExistsQueryBuilder inside a BoolQueryBuilder.mustNot(QueryBuilder) clause instead.public class MissingQueryBuilder extends QueryBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
MissingQueryBuilder(String name)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params)
Deprecated.
|
MissingQueryBuilder |
existence(boolean existence)
Deprecated.
Should the missing filter include documents where the field doesn't exists in the docs.
|
MissingQueryBuilder |
nullValue(boolean nullValue)
Deprecated.
Should the missing filter automatically include fields with null value configured in the
mappings.
|
MissingQueryBuilder |
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 MissingQueryBuilder(String name)
public MissingQueryBuilder nullValue(boolean nullValue)
public MissingQueryBuilder existence(boolean existence)
public MissingQueryBuilder queryName(String queryName)
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent in class QueryBuilderIOExceptionCopyright © 2009–2017. All rights reserved.