Skip to content

Commit 0b041cc

Browse files
authored
Deprecate local param in get_mapping.json (#57265)
Relates: #55014 This commit deprecates the local param in get_mapping.json. This parameter is a no-op and field mappings are always retrieved locally.
1 parent b001bab commit 0b041cc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@
5454
},
5555
"local":{
5656
"type":"boolean",
57-
"description":"Return local information, do not retrieve the state from master node (default: false)"
57+
"description":"Return local information, do not retrieve the state from master node (default: false)",
58+
"deprecated":{
59+
"version":"7.8.0",
60+
"description":"This parameter is a no-op and field mappings are always retrieved locally."
61+
}
5862
}
5963
}
6064
}

0 commit comments

Comments
 (0)