Skip to content

Fix range and wildcard queries on type-field for single-type indices #31632

Closed
@cbuescher

Description

@cbuescher

This comes from a discussion with @jpountz after looking at #31476.
Range and wildcard queries throw an error when run against a _type field for single-type indices in 6.x and most likely also
in master. While _type is deprecated, it might still we worth fixing these for the time being. In the other hand it seems to be a
rare use-case to query the _type field with a range query, so I'd probably discuss this before diving deeper into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search Foundations/MappingIndex mappings, including merging and defining field typesTeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearchhelp wantedadoptme

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions