-
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 mapping type usage #2979
Comments
Are we tracking this as part of a campaign to remove mapping types usage? |
This tracks the pending |
@reta @nknize : I listed down remaining
Identified other references which can be removed without any issue.
|
Thanks for summarizing, @dreamer-89, regarding your questions
I actually don't know to be honest, but cleaning it up would be good in any case.
It looks safe to be removed, 1.x does validate mapping types, so 2.0 should not run into that, @nknize wdyt? |
|
This plugin seems to be not updated since 6.x as it uses custom typed end-point We should revisit if this |
Closing this one as most of the changes have been completed except type validation removal from MapperService which needs more discussion (pointed below). Will open a separate issue to track that (and other type related usages if any). Closing this one as remaining changes have been merged.
|
Is your feature request related to a problem? Please describe.
As part of #1940 we completed all breaking changes as part of
2.0
release. In this issue, we plan to remove all remaining type usages from OpenSearch engine internals.Background
The mapping types have been deprecated in Elasticsearch (starting from 7.0) [1] with breaking changes to the index creation, put mapping, get mapping, put template, get template and get field mappings APIs and on track to be removed in 8.0 [2]. This is the debt Opensearch has inherited and the code related to mapping types support has to be removed.
[1] https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html
[2] elastic/elasticsearch#41059
Additional context
[Removal of mapping types] (https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html)
Captures remaining pending changes for Type mapping removal
Related: #1940
Pending changes
_type
in searches #2986_type
usages from the codebase #3131The text was updated successfully, but these errors were encountered: