Skip to content

Commit 2f61591

Browse files
clintongormleyareek
authored andcommitted
REST spec: Added missing query_cache param to clear_cache, nodes.stats and indices.stats
Relates to #7167 and #7161
1 parent 71991ad commit 2f61591

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

rest-api-spec/api/indices.clear_cache.json

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
"recycler": {
6666
"type" : "boolean",
6767
"description" : "Clear the recycler cache"
68+
},
69+
"query_cache": {
70+
"type" : "boolean",
71+
"description" : "Clear query cache"
6872
}
6973
}
7074
},

rest-api-spec/api/indices.stats.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"metric" : {
1919
"type" : "list",
20-
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "refresh", "search", "segments", "store", "warmer", "suggest"],
20+
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "query_cache", "refresh", "search", "segments", "store", "warmer", "suggest"],
2121
"description" : "Limit the information returned the specific metrics."
2222
}
2323
},

rest-api-spec/api/nodes.stats.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"index_metric" : {
2222
"type" : "list",
23-
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "refresh", "search", "segments", "store", "warmer", "suggest"],
23+
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "query_cache", "refresh", "search", "segments", "store", "warmer", "suggest"],
2424
"description" : "Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified."
2525
},
2626
"node_id": {

0 commit comments

Comments
 (0)