public class MissingFilterBuilder extends BaseFilterBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
MissingFilterBuilder(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
MissingFilterBuilder |
existence(boolean existence)
Should the missing filter include documents where the field doesn't exists in the docs.
|
MissingFilterBuilder |
filterName(String filterName)
Sets the filter name for the filter that can be used when searching for matched_filters per hit.
|
MissingFilterBuilder |
nullValue(boolean nullValue)
Should the missing filter automatically include fields with null value configured in the
mappings.
|
buildAsBytes, buildAsBytes, toString, toXContent
public MissingFilterBuilder(String name)
public MissingFilterBuilder nullValue(boolean nullValue)
public MissingFilterBuilder existence(boolean existence)
public MissingFilterBuilder filterName(String filterName)
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent
in class BaseFilterBuilder
IOException
Copyright © 2009–2015. All rights reserved.