37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
{
|
|
"indices.put_warmer": {
|
|
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-warmers/",
|
|
"methods": ["PUT"],
|
|
"url": {
|
|
"path": "/{index}/_warmer/{name}",
|
|
"paths": ["/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"],
|
|
"parts": {
|
|
"index": {
|
|
"type" : "list",
|
|
"required" : true,
|
|
"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"
|
|
},
|
|
"name": {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"description" : "The name of the warmer"
|
|
},
|
|
"type": {
|
|
"type" : "list",
|
|
"description" : "A comma-separated list of document types to register the warmer for; leave empty to perform the operation on all types"
|
|
}
|
|
},
|
|
"params": {
|
|
"master_timeout": {
|
|
"type" : "time",
|
|
"description" : "Specify timeout for connection to master"
|
|
}
|
|
}
|
|
},
|
|
"body": {
|
|
"description" : "The search request definition for the warmer (query, filters, facets, sorting, etc)",
|
|
"required" : true
|
|
}
|
|
}
|
|
}
|