Skip to content

indices.create doesn't support include_type_name request parameter #901

Closed
@dliappis

Description

@dliappis

indices.create supports wait_for_active_shards however, the recent Elasticsearch commit: elastic/elasticsearch#38270 forces the use of ?include_type_name=true to allow use of the _doc type in 7.0. Types are deprecated in 7.0 and will be completely removed in 8.0.

So for users sticking to _doc for the lifetime of 7.0, it's necessary to pass this query/parameter.

It'd be great if support for this would be added. To avoid having to follow up future parameters, would it make sense to just allow passing any arbitrary parameters that the user elects to?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions