Skip to content

[Meta] Remove mapping types #1940

@reta

Description

@reta

Is your feature request related to a problem? Please describe.
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

Describe the solution you'd like
Remove mapping types support from the core and APIs.

Describe alternatives you've considered

  1. Keep the code around (nonetheless it is dead)
  2. Resurrect mapping types support (what is the case for it?)

Additional context
[Removal of mapping types] (https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html)

OpenSearch Engine Subtasks

Plugins:

Clients

Other

Metadata

Metadata

Assignees

Labels

>breakingIdentifies a breaking change.Indexing & SearchMetaMeta issue, not directly linked to a PRcampaignParent issues of OpenSearch release campaigns.enhancementEnhancement or improvement to existing feature or requestv2.0.0Version 2.0.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions