Details
-
Improvement
-
Resolution: Fixed
-
Minor - P4
-
None
-
None
Description
Docs for $collStats states:
$collStats must be the first stage in an aggregation pipeline, or else the pipeline returns an error.
This is not mentioned for $indexStats, but I gather both operators are similar. If $indexStats has a similar restriction, we should document it.