Deprecate local parameter for get field mapping request (#55014)

The usage of local parameter for GetFieldMappingRequest has been removed from the underlying transport action since v2.0.

This PR deprecates the parameter from rest layer. It will be removed in next major version.
This commit is contained in:
Yang Wang 2020-04-12 12:34:44 +10:00 committed by GitHub
parent e05d6180a2
commit 6ce88038f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 40 additions and 5 deletions

View file

@ -34,7 +34,8 @@ how wildcard expressions are expanded
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-request-local]
--------------------------------------------------
<1> The `local` flag (defaults to `false`) controls whether the aliases need
<1> deprecated:[7.8.0, This parameter is a no-op and field mappings are always retrieved locally]
The `local` flag (defaults to `false`) controls whether the aliases need
to be looked up in the local cluster state or in the cluster state held by
the elected master node