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

avoid checking for match of a full document field in certain cases where the field was already matched in the index

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance, Querying
    • Labels:
      None
    • Fully Compatible

      In some cases where a large array is indexed and an (eg equality) match on (eg a non null value) is requested, it may be slow and unnecessary to scan the document's full array for a matching element. The existence of a matching element may be inferred from the existence of a matching index key. We'd need to carefully examine the set of cases where this optimization can be applied.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            aaron Aaron Staple
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: