Add support for a range constraint on the first sort field to in/sort/limit optimization

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.2
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Implement the SERVER-5063 optimization for cases like the following:

      db.c.find( { a:{ $in:[ 1, 2 ] }, b:{ $gt: 4 } } ).limit( -2 ).sort( { b:1 } ).hint( { a:1, b:1 } )
      

            Assignee:
            Aaron Staple (Inactive)
            Reporter:
            Aaron Staple (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: