-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Performance
-
Fully Compatible
-
ALL
While this is performance-neutral on its own, it enables other optimizations such as combining sort and limit. This should probably be done right before Optimizations::Local::moveLimitBeforeSkip.
- is duplicated by
-
SERVER-19152 Reorder $project to be after limits and skips
- Closed
- is related to
-
SERVER-4506 aggregation: optimize by pushing matches to earlier in a pipeline
- Closed