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

$exists could use index

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

      $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@mongodb.com Samantha Ritter (Inactive)
            Reporter:
            hari.khalsa@10gen.com hari.khalsa@10gen.com
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: