IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Type exists API
editType exists API
editDeprecated in 7.0.0.
Types are deprecated and are in the process of being removed. See Removal of mapping types.
Checks if a mapping type exists.
HEAD my-index-000001/_mapping/message
Request
editHEAD /<index>/_mapping/<type>
Path parameters
edit-
<index>
- (Optional, string) Comma-separated list or wildcard expression of index names used to limit the request.
-
<type>
- (Optional, string) Comma-separated list or wildcard expression of types used to limit the request.
Response codes
edit-
200
- Indicates all specified mapping types exist.
-
404
- Indicates one or more specified mapping types do not exist.