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 } )
- is related to
-
SERVER-5063 $in on first compound key element and limit efficiency
- Closed