Skip to content

Commit 2a9073d

Browse files
committed
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. (cherry picked from commit 0b041cc)
1 parent 11ae062 commit 2a9073d

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
@@ -96,7 +96,11 @@
9696
},
9797
"local":{
9898
"type":"boolean",
99-
"description":"Return local information, do not retrieve the state from master node (default: false)"
99+
"description":"Return local information, do not retrieve the state from master node (default: false)",
100+
"deprecated":{
101+
"version":"7.8.0",
102+
"description":"This parameter is a no-op and field mappings are always retrieved locally."
103+
}
100104
}
101105
}
102106
}

0 commit comments

Comments
 (0)