Skip to content

Solidify the approach to allowing typeless requests on an index with a custom type. #37450

Closed
@jtibshirani

Description

@jtibshirani

In #35790, we introduced support for making typeless API calls against an index with a custom type name. For example, given an existing index with type my_type, we allow new documents to be indexed using the typeless endpoint index/_doc/id. This is functionality is important in supporting the move to typeless APIs, since many users are likely to be working with older indices that were created with a custom type.

The approach in #35790 is fairly fragile, and we would like to step back and consider if there is something cleaner and more solid we could do instead. To help document the current implementation, here is the list of PRs associated with this work:

Metadata

Metadata

Assignees

Labels

:Distributed Indexing/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.:Search Foundations/MappingIndex mappings, including merging and defining field types>refactoringTeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions