Closed
Description
Today, we execute CCS field-caps requests similarly to CCS search requests with ccs_minimize_roundtrips
to avoid network delays for each index field-caps request. However, the benefit is no longer significant since #77047 as field-caps requests are executed per node.
This issue proposes fanning out field-caps requests directly to nodes on remote clusters. With this model, we can skip indices on remote clusters if we have identical index mappings on the local cluster. This model also avoids big transport messages between clusters. The disadvantage of this model is the extra call fetching the routing table and index mapping hash from remote clusters.