-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
Currently the operator requires a SortKeyPattern to generate a SortKeyGenerator to generate values to compare. If the inputs given to the accumulator were already sort keys, which should be available via {$meta: "sortKey"}, then it should be faster. This will not only boost some performance, and make it easier to build syntactic sugar for a $rankFusion stage, since we won't have to generate and pass along a sort pattern.
- depends on
-
SERVER-98453 Refactor $sort to make it easier to add a new option
- Closed
- is depended on by
-
SERVER-98562 Allow $rank with compound sortBy
- Backlog
-
SERVER-98563 Use sort key metadata in PartitionIterator
- Backlog
-
SERVER-95168 Implement $setWindowFields version of desugaring for $rankFusion
- Blocked