Module org.elasticsearch.server
Package org.elasticsearch.action.support
Class IndicesOptions.GatekeeperOptions.Builder
java.lang.Object
org.elasticsearch.action.support.IndicesOptions.GatekeeperOptions.Builder
- Enclosing class:
IndicesOptions.GatekeeperOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowAliasToMultipleIndices
(boolean allowAliasToMultipleIndices) Aliases that resolve to multiple indices are accepted when true, otherwise the resolution will throw an error.allowClosedIndices
(boolean allowClosedIndices) Closed indices are accepted when true, otherwise the resolution will throw an error.allowSelectors
(boolean allowSelectors) Selectors are allowed within index expressions when true, otherwise the resolution will treat their presence as a syntax error when resolving index expressions.build()
ignoreThrottled
(boolean ignoreThrottled) Throttled indices will not be included in the result.includeFailureIndices
(boolean includeFailureIndices) When the selectors are not allowed, this flag determines if we will include the failure store indices in the resolution or not.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowAliasToMultipleIndices
public IndicesOptions.GatekeeperOptions.Builder allowAliasToMultipleIndices(boolean allowAliasToMultipleIndices) Aliases that resolve to multiple indices are accepted when true, otherwise the resolution will throw an error. Defaults to true. -
allowClosedIndices
Closed indices are accepted when true, otherwise the resolution will throw an error. Defaults to true. -
allowSelectors
Selectors are allowed within index expressions when true, otherwise the resolution will treat their presence as a syntax error when resolving index expressions. Defaults to true. -
includeFailureIndices
public IndicesOptions.GatekeeperOptions.Builder includeFailureIndices(boolean includeFailureIndices) When the selectors are not allowed, this flag determines if we will include the failure store indices in the resolution or not. Defaults to false. -
ignoreThrottled
Throttled indices will not be included in the result. Defaults to false. -
build
-