I know there is a way to get all the aliases associated with given index, but is there a way to get all the indices for a given alias?
Input: Alias
Output: List[Index]
The only approach I know of is to get aliases and iterate through each one of them, but it can be expensive if we have too many indices/aliases in production. Please let me know. Thank you.
Would like to know ES API and Java/Scala API. I am using Elastic4s client, BTW.
Thank you!