2013-05-24 12:02:42 +02:00
|
|
|
{
|
2013-06-07 18:54:21 +02:00
|
|
|
"indices.put_warmer": {
|
2013-05-27 22:29:08 +02:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-warmers/",
|
2013-05-24 12:02:42 +02:00
|
|
|
"methods": ["PUT"],
|
|
|
|
"url": {
|
|
|
|
"path": "/{index}/_warmer/{name}",
|
|
|
|
"paths": ["/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"],
|
|
|
|
"parts": {
|
|
|
|
"index": {
|
2013-05-27 22:29:08 +02:00
|
|
|
"type" : "list",
|
2013-06-09 21:17:29 +02:00
|
|
|
"required" : true,
|
2013-05-27 22:29:08 +02:00
|
|
|
"description" : "A comma-separated list of index names to register the warmer for; use `_all` or empty string to perform the operation on all indices"
|
2013-05-24 12:02:42 +02:00
|
|
|
},
|
|
|
|
"name": {
|
2013-05-27 22:29:08 +02:00
|
|
|
"type" : "string",
|
2013-06-09 21:17:29 +02:00
|
|
|
"required" : true,
|
2013-05-28 10:44:51 +02:00
|
|
|
"description" : "The name of the warmer"
|
2013-05-24 12:02:42 +02:00
|
|
|
},
|
|
|
|
"type": {
|
2013-05-27 22:29:08 +02:00
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of document types to register the warmer for; leave empty to perform the operation on all types"
|
2013-05-24 12:02:42 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
2013-07-23 00:06:25 +02:00
|
|
|
"master_timeout": {
|
|
|
|
"type" : "time",
|
|
|
|
"description" : "Specify timeout for connection to master"
|
|
|
|
}
|
2013-05-24 12:02:42 +02:00
|
|
|
}
|
|
|
|
},
|
2013-05-27 22:29:08 +02:00
|
|
|
"body": {
|
2013-06-08 15:34:13 +02:00
|
|
|
"description" : "The search request definition for the warmer (query, filters, facets, sorting, etc)",
|
|
|
|
"required" : true
|
2013-05-27 22:29:08 +02:00
|
|
|
}
|
2013-05-24 12:02:42 +02:00
|
|
|
}
|
|
|
|
}
|