WARNING: Version 5.4 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.
Types Existsedit
Used to check if a type/types exists in an index/indices.
HEAD twitter/_mapping/tweet
The HTTP status code indicates if the type exists or not. A 404
means
it does not exist, and 200
means it does.