public interface AliasesRequest extends IndicesRequest.Replaceable
ActionRequest
subclasses that relate to
one or more indices and one or more aliases. Meant to be used for aliases management requests (e.g. add/remove alias,
get aliases) that hold aliases and indices in separate fields.
Allows to retrieve which indices and aliases the action relates to.IndicesRequest.Replaceable
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
aliases()
Returns the array of aliases that the action relates to
|
AliasesRequest |
aliases(java.lang.String... aliases)
Sets the array of aliases that the action relates to
|
boolean |
expandAliasesWildcards()
Returns true if wildcards expressions among aliases should be resolved, false otherwise
|
indices
indices, indicesOptions
java.lang.String[] aliases()
AliasesRequest aliases(java.lang.String... aliases)
boolean expandAliasesWildcards()