Skip to content

Commit 4a3b230

Browse files
committed
Mark field_data as deprecated in /_cache/clear
It was deprecated in #28943.
1 parent ca6adac commit 4a3b230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
"params": {
1515
"field_data": {
1616
"type" : "boolean",
17-
"description" : "Clear field data"
17+
"description" : "Clear field data. This is deprecated. Prefer `fielddata`."
1818
},
1919
"fielddata": {
2020
"type" : "boolean",
2121
"description" : "Clear field data"
2222
},
2323
"fields": {
2424
"type" : "list",
25-
"description" : "A comma-separated list of fields to clear when using the `field_data` parameter (default: all)"
25+
"description" : "A comma-separated list of fields to clear when using the `fielddata` parameter (default: all)"
2626
},
2727
"query": {
2828
"type" : "boolean",

0 commit comments

Comments
 (0)