range queries on arrays behave inconsistently without indexes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.9.0
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > db.f.drop();
      true
      > db.f.save(

      { a:[1,10] }

      );
      > db.f.find( { a:

      { $gt:2,$lt:5}

      } );

      { "_id" : ObjectId("4cb4dbd632dad83b4dd8a524"), "a" : [ 1, 10 ] }

      > db.f.find( { a:

      { $gt:5,$lt:2}

      } );
      >

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

                Created:
                Updated:
                Resolved: