-
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.