Consider scanning multikey indices for sorting on arrays and limit:1

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query 2019-07-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As a special case to SERVER-40597, a multikey index could be used if the operation includes limit:1.  This optimization may not extend meaningfully for other values applied to the limit.

            Assignee:
            David Storch
            Reporter:
            Chris Harris
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: