_field_caps
doesn't honour ignore_unavailable
option with closed index
#107767
Labels
>bug
priority:normal
A label for assessing bug priority to be used by ES engineers
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Elasticsearch Version
8.14, also current master (@8201172)
Installed Plugins
No response
Java Version
bundled
OS Version
macos
Problem Description
Querying an inexistent index'es
_field_caps
withignore_unavailable=true
will work (returns no caps).The same, but with an existing and closed index fails with
cluster_block_exception
.Steps to Reproduce
Logs (if relevant)
Last step will fail with:
The text was updated successfully, but these errors were encountered: