Skip to content

Remove mapping type usage #2979

@dreamer-89

Description

@dreamer-89

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

Metadata

Metadata

Assignees

Labels

Indexing & SearchenhancementEnhancement or improvement to existing feature or requestv2.1.0Issues and PRs related to version 2.1.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions