Skip to content

Commit

Permalink
REST spec: Added missing query_cache param to clear_cache, nodes.stat…
Browse files Browse the repository at this point in the history
…s and indices.stats

Relates to #7167 and #7161
  • Loading branch information
clintongormley committed Aug 6, 2014
1 parent b73b37a commit 11f8edd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions rest-api-spec/api/indices.clear_cache.json
Expand Up @@ -65,6 +65,10 @@
"recycler": {
"type" : "boolean",
"description" : "Clear the recycler cache"
},
"query_cache": {
"type" : "boolean",
"description" : "Clear query cache"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion rest-api-spec/api/indices.stats.json
Expand Up @@ -17,7 +17,7 @@
},
"metric" : {
"type" : "list",
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "refresh", "search", "segments", "store", "warmer", "suggest"],
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "query_cache", "refresh", "search", "segments", "store", "warmer", "suggest"],
"description" : "Limit the information returned the specific metrics."
}
},
Expand Down
2 changes: 1 addition & 1 deletion rest-api-spec/api/nodes.stats.json
Expand Up @@ -20,7 +20,7 @@
},
"index_metric" : {
"type" : "list",
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "refresh", "search", "segments", "store", "warmer", "suggest"],
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "query_cache", "refresh", "search", "segments", "store", "warmer", "suggest"],
"description" : "Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified."
},
"node_id": {
Expand Down

0 comments on commit 11f8edd

Please sign in to comment.