Implement an $indexKeys aggregation stage

XMLWordPrintableJSON

    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              [DO NOT USE] Backlog - Query Optimization
              Reporter:
              Bernard Gorman
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: