Skip to content

Commit 410ae39

Browse files
authored
Remove suggest reference in some API specs (#66180)
This commit removes the reference to the suggest index metric in the nodes stats and indices stats rest api spec files. Suggest has been removed so it is no longer correct to have it in these files. Closes #43407
1 parent 2bf5c79 commit 410ae39

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"segments",
4242
"store",
4343
"warmer",
44-
"suggest",
4544
"bulk"
4645
],
4746
"description":"Limit the information returned the specific metrics."
@@ -88,7 +87,6 @@
8887
"segments",
8988
"store",
9089
"warmer",
91-
"suggest",
9290
"bulk"
9391
],
9492
"description":"Limit the information returned the specific metrics."
@@ -100,11 +98,11 @@
10098
"params":{
10199
"completion_fields":{
102100
"type":"list",
103-
"description":"A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards)"
101+
"description":"A comma-separated list of fields for the `completion` index metric (supports wildcards)"
104102
},
105103
"fielddata_fields":{
106104
"type":"list",
107-
"description":"A comma-separated list of fields for `fielddata` index metric (supports wildcards)"
105+
"description":"A comma-separated list of fields for the `fielddata` index metric (supports wildcards)"
108106
},
109107
"fields":{
110108
"type":"list",

rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@
127127
"segments",
128128
"store",
129129
"warmer",
130-
"suggest",
131130
"bulk"
132131
],
133132
"description":"Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified."
@@ -176,7 +175,6 @@
176175
"segments",
177176
"store",
178177
"warmer",
179-
"suggest",
180178
"bulk"
181179
],
182180
"description":"Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified."
@@ -192,11 +190,11 @@
192190
"params":{
193191
"completion_fields":{
194192
"type":"list",
195-
"description":"A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards)"
193+
"description":"A comma-separated list of fields for the `completion` index metric (supports wildcards)"
196194
},
197195
"fielddata_fields":{
198196
"type":"list",
199-
"description":"A comma-separated list of fields for `fielddata` index metric (supports wildcards)"
197+
"description":"A comma-separated list of fields for the `fielddata` index metric (supports wildcards)"
200198
},
201199
"fields":{
202200
"type":"list",

0 commit comments

Comments
 (0)