Index
Set index mappings
Changed onput/api/{index}/_mapping
Request
- Base URLhttp://localhost:4080
- URLhttp://localhost:4080/api/{index}/_mapping
- AuthHTTP basic
Path parameters
indexstring required
Index
Request body
Example request
{
"properties": {
"key": {
"search_analyzer": "search_analyzer",
"analyzer": "analyzer",
"aggregatable": true,
"format": "format",
"index": true,
"highlightable": true,
"sortable": true,
"store": true,
"fields": {
"key": null
},
"time_zone": "time_zone",
"type": "type"
}
}
}Response
OK
Example response
{
"message": "message"
}Changes
- info
added the new optional request property
// - info
added the new optional request property
//
- info
- warning
removed the request property
// - warning
removed the request property
//
- warning