WARNING: Version 0.90 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.
Used to check if the index (indices) exists or not. For example:
curl -XHEAD 'http://localhost:9200/twitter'
The HTTP status code indicates if the index exists or not. A
it does not exist, and
200 means it does.