$exists could use index

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.0-rc1
    • Affects Version/s: 2.5.5
    • Component/s: Querying
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $exists: true could scan any index (but ignore the no-such-field-key if the index is sparse).

      $exists: false could scan a non-sparse index for the no-such-field key.

              Assignee:
              Samantha Ritter (Inactive)
              Reporter:
              hari.khalsa@10gen.com
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: