Concept Flow - How the engine optimizes pipelines
Start: Receive Aggregation Pipeline
Analyze Pipeline Stages
Reorder Stages for Efficiency
Combine Compatible Stages
Push Match and Project Early
Execute Optimized Pipeline
Return Results
The engine takes the pipeline, analyzes and rearranges stages to run faster, then executes the improved pipeline.