Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for aliases in queries on _index. #46640

Merged
merged 6 commits into from
Sep 20, 2019

Commits on Sep 11, 2019

  1. Add support for aliases in queries on _index.

    Previously, queries on the _index field were not able to specify index aliases.
    This was a regression in functionality compared to the 'indices' query that was
    deprecated and removed in 6.0.
    
    Now queries on _index can specify an alias, which is resolved to the concrete
    index names when we check whether an index matches. To match a remote shard
    target, the pattern needs to be of the form 'cluster:index' to match the
    fully-qualified index name. Aliases can be specified in the following query
    types: term, terms, prefix, and wildcard.
    jtibshirani committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    b799838 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2019

  1. Configuration menu
    Copy the full SHA
    9cc1d30 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2019

  1. Configuration menu
    Copy the full SHA
    c374561 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4168494 View commit details
    Browse the repository at this point in the history
  3. Remove redundant unit tests.

    The functionality these tests target is now covered by IndexFieldTypeTests and
    SearchIndexNameMatcherTests.
    jtibshirani committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    d7f6fc0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9bc212f View commit details
    Browse the repository at this point in the history