Skip to content

Deprecate indices query in favour of making _index queryable #12017

@clintongormley

Description

@clintongormley

The indices query allows the user to run different queries on different indices, eg to create a union of docs from different indices, where the conditions to be applied to each index are different.

A simpler way to write this query would be to make _index usable in the term, terms, match, query_string, and simple_query_stringqueries (see #3316).

However, this change also depends on the changes in #12016 to allow unmapped fields to be handled gracefully across all queries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions