Put Index Mapping
PUT {{baseUrl}}/_mapping
The put mapping API operation lets you add new mappings and fields to an index.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
allow_no_indices | boolean | ||
expand_wildcards | string | ||
ignore_unavailable | boolean | ||
include_type_name | boolean | ||
master_timeout | string | ||
timeout | string | ||
write_index_only | boolean |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"acknowledged":true}