AliasBuilderfor assistance in adding and removing index aliases.
applyAliasesmethod. These operations are performed in the same transaction (i.e. atomic), so it's safe to use for switching the alias from one index to another.
getAliasesmethod allows you to retrieve a map containing information on aliases in use in the connected cluster.
unassigned. The former is a map of aliases with their corresponding index, the latter is an array of indexes which are unassigned to any alias.