You are looking at documentation for an older release. Not what you want? See the current release documentation.
Used to check if the index (indices) exists or not. For example:
curl -XHEAD -i '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.