[DRIVERS-1623] Exact top-n accumulator Created: 23/Mar/21 Updated: 27/May/22 Resolved: 05/Apr/21 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Epic | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Driver Changes: | Needed | ||||
| Server Compat: | 5.2 | ||||
| Upstream Changes Summary: | Here is the list of accumulators that this project implemented:
For specific on each accumulator, please refer to the scope doc. |
||||
| Description |
|
Downstream Change Summary Please see the scope doc and let Query know if any questions Description of Linked TicketEpic Summary SummaryAdd a $top accumulator that returns an array of expressions evaluated for top n documents according to a given sort order MotivationOne common analytical task is to find the top or bottom n elements in each cohort. For example, we are interested in the 10 best salespeople for each region based on their individual sales, or in the 5 slowest queries issued by a given tenant on each day. This is a generalization of finding the best or worst element. Cast of Characters
DocumentationScope Document |