> db.test.insert(
{a:[1,10]})
> db.test.find({a: {$gt: 2, $lt:5}})
> db.test.ensureIndex(
{a:1})
> db.test.find({a: {$gt: 2, $lt:5}})
>
- depends on
-
SERVER-1937 $gt/$lt/$ne with scalar operand yields inconsistent matches on arrays
- Closed
-
SERVER-2864 query pattern cannot be created for an 'invalid' key range
- Closed
-
SERVER-2865 $or clause won't handle 'invalid' key range properly
- Closed
- is depended on by
-
SERVER-2165 $in and $all don't work together
- Closed
-
SERVER-2302 if a field has a regular filter and $ors, index breaks in
- Closed
-
SERVER-1089 $and operator
- Closed
-
SERVER-3102 invalidate querypattern when index becomes multikey
- Closed
- is related to
-
SERVER-1932 range queries on arrays behave inconsistently without indexes
- Closed
- related to
-
SERVER-3102 invalidate querypattern when index becomes multikey
- Closed
-
SERVER-3103 key check optimization for multikey index in covered matcher
- Closed
-
SERVER-3104 index bound improvements for elemMatch query on multikey index
- Closed