Types Exists

Deprecated in 7.0.0.

Types are deprecated and are in the process of being removed. See Removal of mapping types.

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.