getIndexesForAlias

Returns the set of indices that have the alias. If you call this on an index, the returned set will just contain the index.

If you need the full _alias API, use getAliases. This is intended to be a more user friendly way to use that.