WARNING: Version 6.1 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Indices Exists
editIndices Exists
editUsed to check if the index (indices) exists or not. For example:
HEAD twitter
The HTTP status code indicates if the index exists or not. A 404
means
it does not exist, and 200
means it does.
This request does not distinguish between an index and an alias,
i.e. status code 200
is also returned if an alias exists with that name.