Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
Description
The current documentation does not adequately point out that the order of operations is critical when creating the "pipeline" array (placing $match before $group for example), and it has been a source of confusion.
http://www.mongodb.org/display/DOCS/Aggregation+Framework#AggregationFramework-Invocation