-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
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
- Keep the code around (nonetheless it is dead)
- 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
- [Remove] Type from Search Internals #2109
- [Remove] Types from DocWrite Request and Response #2239
- [Remove] Type from Client.prepare(Index,Delete,Update) #2253
- [Remove] remaining type usage in Client and AbstractClient #2258
- [Remove] deprecated getMapping API from IndicesClient #2262
- [Remove] types from PutMappingRequest #2335
- Handling multiple mapping type index templates #2356
- Remove type from nested documents; where types used to store nested path information #2357
- Type removal from API end-points
- RestIndexAction Remove type mapping from document index API #2026
- RestUpdateAction [Remove] Type mapping parameter from document update API #2204
- RestDeleteAction [Remove] Types from DocWrite Request and Response #2239
- RestGetAction [Remove] Types from GET/MGET #2168
- RestMultiGetAction [Remove] Types from GET/MGET #2168
- RestExplainAction [Remove] types from SearchHit and Explain API #2205
- RestBulkAction [Remove] type support from Bulk API #2215
- RestNoopBulkAction Remove type end-points from NOOP bulk and search action #2261
- RestSearchAction Remove type end-points from search and related APIs #2263 and [Remove] Types from GET/MGET #2168
- RestMultiSearchAction Remove type end-points from search and related APIs #2263
- RestSearchTemplateAction Remove type end-points from search and related APIs #2263
- RestMultiSearchTemplateAction [Remove] Type mapping end-points from RestMultiSearchTemplateAction #2433 & Remove type end-points from search and related APIs #2263
- RestNoopSearchAction Remove type end-points from NOOP bulk and search action #2261
- RestCountAction Remove type end-points from count action #2379
- RestUpdateByQueryAction Remove type end-points from search and related APIs #2263
- RestDeleteByQueryAction Remove type end-points from search and related APIs #2263
- RestGetFieldMappingAction Removes types from mapping APIs #2238
- RestGetMappingAction Removes types from mapping APIs #2238
- RestPutMappingAction Removes types from mapping APIs #2238
- RestValidateQueryAction Remove type from validate query API #2255
- RestGetSourceAction [Remove] Types from GET/MGET #2168
- RestTermVectorsAction [Remove] Type parameter from TermVectors API #2104 and Remove type end-points from search and related APIs #2263
- RestMultiTermVectorsAction Remove type end-points from search and related APIs #2263
- Remove include_type_name param from API end-points #2195
- Add new tests to verify bwc scenarios #2240
- Documentation #2267
- Rest layer bwc compatibility post
typeremoval #2296
Plugins:
- alerting-dashboards-plugin Remove mapping types alerting-dashboards-plugin#181
- alerting Remove mapping types alerting#317
- anomaly-detection-dashboards-plugin: Remove mapping types anomaly-detection-dashboards-plugin#184
- anomaly-detection Remove mapping types anomaly-detection#394
- asynchronous-search Remove mapping types asynchronous-search#98
- common-utils Remove mapping types common-utils#123
- dashboards-reports Remove mapping types reporting#292
- dashboards-visualizations Remove mapping types dashboards-visualizations#52
- index-management-dashboards-plugin Remove mapping types index-management-dashboards-plugin#155
- index-management Remove mapping types index-management#282
- job-scheduler Remove mapping types job-scheduler#131
- K-NN Remove mapping types #155 k-NN#303
- notifications Remove mapping types notifications#375
- performance-analyzer Remove mapping types performance-analyzer#145
- performance-analyzer-rca Remove mapping types performance-analyzer-rca#134
- security-dashboards-plugin Remove mapping types security-dashboards-plugin#914
- security Remove mapping types security#1658
- sql Remove mapping types sql#452
- observability Remove mapping types observability#523
- cross-cluster-replication Remove mapping types cross-cluster-replication#318
- OpenSearch-Dashboards [BWC] Verify impact for
typeandinclude_type_nameno longer being supported OpenSearch-Dashboards#1290
Clients
- data-prepper Remove mapping types data-prepper#1139
- logstash-output-opensearch Remove mapping types logstash-output-opensearch#128
- opensearch-clients Remove mapping type support opensearch-clients#6
Other
- opensearch-benchmark Remove mapping types opensearch-benchmark#150
- opensearch-benchmark-workloads Remove mapping types opensearch-benchmark-workloads#37
- opensearch-cli Remove mapping types opensearch-cli#47
- ml-commons: Remove mapping types ml-commons#158
- opensearch-oci-object-storage Remove mapping types opensearch-oci-object-storage#8
- documentation-website Remove mapping types documentation-website#429
- project-website Remove mapping type project-website#709