-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Diagnostics
-
None
-
Query Execution
-
Query 2019-12-16, Query 2019-12-30, Query 2020-01-13, Query 2020-02-10, Query 2020-02-24, Query Execution 2021-03-08, Query Execution 2021-03-22, Query Execution 2021-04-05, Query Execution 2021-04-19, Query Execution 2021-05-03, Query Execution 2021-07-12
-
(copied to CRM)
Currently, the value of nreturned reports the number of documents returned by an aggregation after all of the transformations have been applied. That number is not useful for determining the ratio of scanned / returned for the $cursor. More useful would be knowing, in addition, the number of documents retrieved by $cursor.