Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1932

range queries on arrays behave inconsistently without indexes

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

      > 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 Aaron Staple
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: