There is some repeated code in these two functions that could be moved into a separate function.
- is related to
-
SERVER-111486 $group can still use a distinct scan on a sparse index if an alternative index is available
-
- Closed
-