From 2a9073d4c1072a7c2c0c5dfcadd12628336fa04b Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Fri, 29 May 2020 12:24:44 +1000 Subject: [PATCH] Deprecate local param in get_mapping.json (#57265) Relates: elastic/elasticsearch#55014 This commit deprecates the local param in get_mapping.json. This parameter is a no-op and field mappings are always retrieved locally. (cherry picked from commit 0b041cccd894f01d723fb2979f70c1cf279700a6) --- .../resources/rest-api-spec/api/indices.get_mapping.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json index 188203dc136..1d9e795c6ed 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json @@ -96,7 +96,11 @@ }, "local":{ "type":"boolean", - "description":"Return local information, do not retrieve the state from master node (default: false)" + "description":"Return local information, do not retrieve the state from master node (default: false)", + "deprecated":{ + "version":"7.8.0", + "description":"This parameter is a no-op and field mappings are always retrieved locally." + } } } }