Class DestructiveOperations

java.lang.Object
org.elasticsearch.action.support.DestructiveOperations

public final class DestructiveOperations extends Object
Helper for dealing with destructive operations and wildcard usage.
  • Field Details

    • REQUIRES_NAME_SETTING

      public static final Setting<Boolean> REQUIRES_NAME_SETTING
      Setting which controls whether wildcard usage (*, prefix*, _all) is allowed.
  • Constructor Details

  • Method Details

    • failDestructive

      public void failDestructive(String[] aliasesOrIndices)
      Fail if there is wildcard usage in indices and the named is required for destructive operations.