Class IndicesOptions.GeneralOptions.Builder

java.lang.Object
org.elasticsearch.action.support.IndicesOptions.GeneralOptions.Builder
Enclosing class:
IndicesOptions.GeneralOptions

public static class IndicesOptions.GeneralOptions.Builder extends Object
  • 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

      public IndicesOptions.GeneralOptions.Builder allowClosedIndices(boolean allowClosedIndices)
      Closed indices are accepted when true, otherwise the resolution will throw an error. Defaults to true.
    • ignoreThrottled

      public IndicesOptions.GeneralOptions.Builder ignoreThrottled(boolean ignoreThrottled)
      Throttled indices will not be included in the result. Defaults to false.
    • build