public class IndicesOptions
Controls how to deal with unavailable concrete indices (closed or missing), how wildcard expressions are expanded
to actual indices (all, closed or open indices) and how to deal with wildcard expressions that resolve to no indices.
Whether specified concrete indices should be ignored when unavailable (missing or closed)
public boolean allowNoIndices()
Whether to ignore if a wildcard expression resolves to no concrete indices.
The `_all` string or empty list of indices count as wildcard expressions too.
Also when an alias points to a closed index this option decides if no concrete indices
public boolean expandWildcardsOpen()
Whether wildcard expressions should get expanded to open indices
public boolean expandWildcardsClosed()
Whether wildcard expressions should get expanded to closed indices
public boolean forbidClosedIndices()
Whether execution on closed indices is allowed.
public boolean allowAliasesToMultipleIndices()
whether aliases pointing to multiple indices are allowed
public void writeIndicesOptions(StreamOutput out)
indices options that requires every specified index to exist, expands wildcards only to open indices,
allows that no indices are resolved from wildcard expressions (not returning an error) and forbids the
use of closed indices by throwing an error.
indices option that requires every specified index to exist, expands wildcards to both open and closed
indices and allows that no indices are resolved from wildcard expressions (not returning an error).