Package org.elasticsearch.action.support
Class DestructiveOperations
java.lang.Object
org.elasticsearch.action.support.DestructiveOperations
Helper for dealing with destructive operations and wildcard usage.
-
Field Summary
Modifier and TypeFieldDescriptionSetting which controls whether wildcard usage (*, prefix*, _all) is allowed. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
failDestructive(String[] aliasesOrIndices)
Fail if there is wildcard usage in indices and the named is required for destructive operations.
-
Field Details
-
REQUIRES_NAME_SETTING
Setting which controls whether wildcard usage (*, prefix*, _all) is allowed.
-
-
Constructor Details
-
DestructiveOperations
-
-
Method Details
-
failDestructive
Fail if there is wildcard usage in indices and the named is required for destructive operations.
-