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)
This commit is contained in:
Russ Cam 2020-05-29 12:24:44 +10:00 committed by Russ Cam
parent 11ae062877
commit 2a9073d4c1

View File

@ -96,7 +96,11 @@
}, },
"local":{ "local":{
"type":"boolean", "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."
}
} }
} }
} }