[SERVER-36556] Implement an $indexKeys aggregation stage Created: 09/Aug/18  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Aggregation Framework, Index Maintenance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Bernard Gorman Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 1
Labels: storch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

Following discussion around SERVER-35860, we should add a new $indexKeys aggregation stage whose purpose is to return a cursor over the contents of the index. This would essentially be a replacement for the $returnKey query option, and in the case of $** indexes it would also allow us to examine the index's metadata keys.

The $indexKeys stage would allow integration tests to more closely examine indexing behaviour, and would also be extremely useful for debugging and Support purposes.


Generated at Thu Feb 08 04:43:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.