mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
46c30e6bc3
Problem: So far all rank eval requests are being executed in parallel. If there are more than the search thread pool can handle, or if there are other search requests executed in parallel rank eval can fail. Solution: Make number of max_concurrent_searches configurable. Name of configuration parameter is analogous to msearch. Default max_concurrent_searches set to 10: Rank_eval isn't particularly time critical so trying to avoid being more clever than probably needed here. Can set this value through the API to a higher value anytime. Fixes #21403