Added the API definition for updating the mapping

This commit is contained in:
Karel Minarik 2013-05-27 16:48:41 +02:00
parent 59e3330020
commit 83928d7fee
1 changed files with 11 additions and 5 deletions

View File

@ -1,24 +1,30 @@
{
"indices.mapping.put": {
"documentation": "",
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping/",
"methods": ["PUT", "POST"],
"url": {
"path": "/{index}/_mapping",
"paths": ["/{index}/_mapping", "/{index}/{type}/_mapping"],
"parts": {
"index": {
"type" : "list",
"required" : true,
"description" : "A comma-separated list of index names; use `_all` to perform the operation on all indices"
},
"type": {
"type" : "string",
"required" : true,
"description" : "The name of the document type"
}
},
"params": {
"ignore_conflicts": {
},
"index": {
"type" : "boolean",
"description" : "Specify whether to ignore conflicts while updating the mapping (default: false)"
},
"timeout": {
},
"type": {
"type" : "time",
"description" : "Explicit operation timeout"
}
}
},