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.
@msimos I looked at the document and didn't find the answer (unless I overlooked something). Your answer gives me alias, given an index name. My request is opposite to your answer. Following is what I am expecting
Input: AliasName
Output: List of Indices associated with that Alias
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.