34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"benchmark" : {
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-benchmark.html",
|
|
"methods": ["PUT"],
|
|
"url": {
|
|
"path": "/_bench",
|
|
"paths": [
|
|
"/_bench",
|
|
"/{index}/_bench",
|
|
"/{index}/{type}/_bench"
|
|
],
|
|
"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",
|
|
"description" : "The name of the document type"
|
|
}
|
|
},
|
|
"params": {
|
|
"verbose": {
|
|
"type": "boolean",
|
|
"description": "Specify whether to return verbose statistics about each iteration (default: false)"
|
|
}
|
|
}
|
|
},
|
|
"body": {
|
|
"description": "The search definition using the Query DSL"
|
|
}
|
|
}
|
|
}
|