Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36556

Implement an $indexKeys aggregation stage

    • Query Optimization

      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.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: