Retrieving aliases on an index with no aliases

I am using version 0.90.1 and I am trying to retrieve all aliases of an
existing index that has no aliases:

curl -XHEAD 'http://localhost:9200/test/_alias/*'

which results in the following error:

{"error":"AliasMissingException[alias [*] missing]","status":404}

Is this the correct behavior? I would expect an empty result set. What is
the best way to determine the aliases of an index when there is a chance
that the index may not have any?


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit

1 Like