Group shard request per node in the field capabilities API #74648
Labels
>enhancement
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
The field capabilities splits the original request on a per-index basis. If 5 indices are requested, the API will send 5 independent requests, one per index. These individual requests have a cost:
In order to reduce this cost, it might be beneficial to switch to a per-node request model where indices/shards that appear on the same node are grouped into a single request. Reducing the number of requests could also help to move these operations into a dedicated thread pool like we did for the new value suggester.
The text was updated successfully, but these errors were encountered: