Added the API definition for registering a warmer

This commit is contained in:
Karel Minarik 2013-05-27 22:29:08 +02:00
parent 15cd213da4
commit 337df9ee41
1 changed files with 10 additions and 8 deletions

View File

@ -1,27 +1,29 @@
{ {
"indices.warmer.put": { "indices.warmer.put": {
"documentation": "", "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-warmers/",
"methods": ["PUT"], "methods": ["PUT"],
"url": { "url": {
"path": "/{index}/_warmer/{name}", "path": "/{index}/_warmer/{name}",
"paths": ["/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"], "paths": ["/{index}/_warmer/{name}", "/{index}/{type}/_warmer/{name}"],
"parts": { "parts": {
"index": { "index": {
"type" : "list",
"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": { "name": {
"type" : "string",
"description" : "The name of the warmer (supports wildcards)"
}, },
"type": { "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": { "params": {
"index": {
},
"name": {
},
"type": {
}
} }
}, },
"body": null "body": {
"description" : "The search request definition (query, filters, facets, sorting, etc)"
}
} }
} }