Here's the code:
def get_aliases(index=default_index, options={})
index, type, options = extract_scope(options)
execute(:get_aliases, index, options)
end
As you can see, get_aliases is ignoring the index that is getting passed in. In order to properly get the alias for a single index, you must do client.get_aliases(nil, :index => 'index').
Here's the code:
As you can see,
get_aliasesis ignoring the index that is getting passed in. In order to properly get the alias for a single index, you must doclient.get_aliases(nil, :index => 'index').