public class IndicesFilterBuilder extends BaseFilterBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
IndicesFilterBuilder(FilterBuilder filterBuilder,
String... indices) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
IndicesFilterBuilder |
filterName(String filterName)
Sets the filter name for the filter that can be used when searching for matched_filters per hit.
|
IndicesFilterBuilder |
noMatchFilter(FilterBuilder noMatchFilter)
Sets the filter to use when it executes on an index that does not match the indices provided.
|
IndicesFilterBuilder |
noMatchFilter(String type)
Sets the no match filter, can either be all or none.
|
buildAsBytes, buildAsBytes, toString, toXContentpublic IndicesFilterBuilder(FilterBuilder filterBuilder, String... indices)
public IndicesFilterBuilder noMatchFilter(String type)
public IndicesFilterBuilder noMatchFilter(FilterBuilder noMatchFilter)
public IndicesFilterBuilder filterName(String filterName)
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent in class BaseFilterBuilderIOExceptionCopyright © 2009–2016. All rights reserved.