[SPEC] Clarify cluster.node_stats api

This commit is contained in:
Honza Král 2014-01-08 21:03:06 +01:00
parent fe1344107c
commit 6e4586fd6b
1 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@
"/_nodes/{node_id}/stats",
"/_nodes/stats/{metric_family}",
"/_nodes/{node_id}/stats/{metric_family}",
"/_nodes/stats/indices/{metric}/{fields}",
"/_nodes/{node_id}/stats/indices/{metric}/{fields}"
"/_nodes/stats/{metric_family}/{metric}"
"/_nodes/{node_id}/stats/{metric_family}/{metric}"
],
"parts": {
"fields" : {
@ -25,7 +25,7 @@
"metric" : {
"type" : "enum",
"options" : ["completion","docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merges", "refresh", "search", "store", "warmer"],
"description" : "Limit the information returned for `indices` family to a specific metric"
"description" : "Limit the information returned for `indices` family to a specific metric. Isn't used if `indices` (or `all`) metric family isn't specified."
},
"node_id": {
"type" : "list",