-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Remove] Type mapping parameter from put index mappings API #2222
[Remove] Type mapping parameter from put index mappings API #2222
Conversation
Signed-off-by: Suraj Singh <surajrider@gmail.com>
Signed-off-by: Suraj Singh <surajrider@gmail.com>
Signed-off-by: Suraj Singh <surajrider@gmail.com>
Signed-off-by: Suraj Singh <surajrider@gmail.com>
Needs rebase against main once #2220 is merged |
Can one of the admins verify this patch? |
@@ -41,7 +38,6 @@ | |||
- do: | |||
catch: /the final mapping would have more than 1 type/ | |||
indices.put_mapping: | |||
include_type_name: true | |||
index: index | |||
type: some_other_type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The presence of type
seems to be not right, it should not be used, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@reta : Thanks for pointing this out. This also explains the existing test failures.
Removal of |
Resolved in #2238 |
Description
With types deprecation, this change removes type mapping API end-points for put index mappings API end-point.
Relates #1940
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.