In ES|QL we need to determine whether, during the field-caps action, any clusters were skipped due to not be available. Add logic to record this and include a list of missing/skipped clusters in the FieldCapsResponse.
We could do this either in the core field-caps action or ES|QL could fully fork field-caps (into EsqlResolveFieldsAction) when we do this.
Once done, we can remove the logic in IndexResolver to detect which clusters are missing.
Description
In ES|QL we need to determine whether, during the field-caps action, any clusters were skipped due to not be available. Add logic to record this and include a list of missing/skipped clusters in the FieldCapsResponse.
We could do this either in the core field-caps action or ES|QL could fully fork field-caps (into EsqlResolveFieldsAction) when we do this.
Once done, we can remove the logic in IndexResolver to detect which clusters are missing.