Module org.elasticsearch.server
Package org.elasticsearch.action.support
Class IndicesOptions.GeneralOptions.Builder
java.lang.Object
org.elasticsearch.action.support.IndicesOptions.GeneralOptions.Builder
- Enclosing class:
- IndicesOptions.GeneralOptions
-
Constructor Summary
-
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.build()
ignoreThrottled
(boolean ignoreThrottled) Throttled indices will not be included in the result.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowAliasToMultipleIndices
public IndicesOptions.GeneralOptions.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. -
ignoreThrottled
Throttled indices will not be included in the result. Defaults to false. -
build
-