2014-03-12 12:16:39 -04:00
|
|
|
{
|
2014-04-14 20:36:43 -04:00
|
|
|
"benchmark.submit" : {
|
2014-03-12 12:16:39 -04:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-benchmark.html",
|
2014-04-14 20:36:43 -04:00
|
|
|
"methods": ["PUT"],
|
2014-03-12 12:16:39 -04:00
|
|
|
"url": {
|
|
|
|
"path": "/_bench",
|
|
|
|
"paths": [
|
|
|
|
"/_bench",
|
|
|
|
"/{index}/_bench",
|
2014-04-14 20:36:43 -04:00
|
|
|
"/{index}/{type}/_bench"
|
2014-03-12 12:16:39 -04:00
|
|
|
],
|
|
|
|
"parts": {
|
|
|
|
"index": {
|
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type" : "string",
|
|
|
|
"required" : true,
|
|
|
|
"description" : "The name of the document type"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
|
|
|
"verbose": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "Specify whether to return verbose statistics about each iteration (default: false)"
|
|
|
|
}
|
|
|
|
}
|
2014-04-09 17:16:52 -04:00
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"description": "The search definition using the Query DSL"
|
2014-03-12 12:16:39 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|