-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
In sharded search, the shards compute the min/max DocsNeededBounds of the shards' pipeline in order to tune the batchSizes requested from mongot. However, the min/max constraints used may not be reflective of the full user pipeline, since the shards don't have knowledge of the merging pipeline. Currently doing so would be very difficult due to dependency cycles (work tracked in SERVER-89546), but we should consider doing this at some point.
- depends on
-
SERVER-89546 Refactor search libraries so extractDocsNeededBounds can be referenced in search helper code
- Backlog
- duplicates
-
SERVER-89448 Set min/max DocsNeededBounds for sharded $search
- Closed