ExistsQueryBuilder
inside a BoolQueryBuilder.mustNot(QueryBuilder)
clause instead.public class MissingQueryBuilder extends QueryBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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.
|
toXContent
buildAsBytes, buildAsBytes, toString
public 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 QueryBuilder
IOException
Copyright © 2009–2016. All rights reserved.