Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
Major Change
-
QuInt A (10/12/15)
Description
Currently the return document is structured without the index keys:
> db.jstests_index_stats.aggregate([{$indexStats: {}}]).pretty()
|
{
|
"name" : "a_1",
|
"ns" : "test.jstests_index_stats",
|
"processName" : "mortar:27017",
|
"usageStats" : {
|
"operations" : NumberLong(5),
|
"validSince" : ISODate("2015-09-21T14:11:56.095Z")
|
}
|
}
|
I think it would be easier for users to see the stats if the keys are included in the return document.
Attachments
Issue Links
- is related to
-
DOCS-6147 Create documentation $indexStats aggregation source
-
- Closed
-