Field Caps failing if using an alias pointing to a closed index #77612
Labels
>bug
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Currently when using an index pattern to get field caps over a set of indices where some might be closes works completely fine. If you use an alias for those indexes instead the _field_caps call suddenly fails.
Requests to reproduce this:
Actual behavior
The field_caps call against
closed-test-*
works perfecty fine and returns a result for onlyclosed-test-2
. The _field_caps call againstalert
will fail with:Expected behavior
Both field caps calls should behave the same and return the same result in this example. The 2nd field_caps call should not fail.
Related Kibana issue: elastic/kibana#111699
The text was updated successfully, but these errors were encountered: