2013-05-24 06:02:42 -04:00
|
|
|
{
|
2013-06-07 12:54:21 -04:00
|
|
|
"indices.put_mapping": {
|
2013-05-27 10:48:41 -04:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping/",
|
2013-05-24 06:02:42 -04:00
|
|
|
"methods": ["PUT", "POST"],
|
|
|
|
"url": {
|
|
|
|
"path": "/{index}/_mapping",
|
|
|
|
"paths": ["/{index}/_mapping", "/{index}/{type}/_mapping"],
|
|
|
|
"parts": {
|
|
|
|
"index": {
|
2013-05-27 10:48:41 -04:00
|
|
|
"type" : "list",
|
|
|
|
"required" : true,
|
|
|
|
"description" : "A comma-separated list of index names; use `_all` to perform the operation on all indices"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"type": {
|
2013-05-27 10:48:41 -04:00
|
|
|
"type" : "string",
|
|
|
|
"required" : true,
|
|
|
|
"description" : "The name of the document type"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
2013-05-26 06:20:43 -04:00
|
|
|
"ignore_conflicts": {
|
2013-05-27 10:48:41 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Specify whether to ignore conflicts while updating the mapping (default: false)"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"timeout": {
|
2013-05-27 10:48:41 -04:00
|
|
|
"type" : "time",
|
|
|
|
"description" : "Explicit operation timeout"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2013-06-08 09:31:15 -04:00
|
|
|
"body": {
|
|
|
|
"description" : "The mapping definition"
|
|
|
|
}
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|