public class IndicesFilterBuilder extends BaseFilterBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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, toXContent
public 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 BaseFilterBuilder
IOException
Copyright © 2009–2015. All rights reserved.