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

bound query problem within+box

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.0
    • Affects Version/s: 1.6.5, 1.8.0
    • Component/s: Geo, Index Maintenance, Querying
    • None
    • Environment:
      CentOS release 5.5
      64bits
      kernel 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST
    • Linux

      It's easy to see the problem with my example:

      I have a geospatial index for the collection
      'users'. From a Google Map (Javascript V3 API), I make calls to a node
      js instance which does the MongoDB queries: who are within the box
      limited by 2 lat,lng pairs (south west, north east)? The problem:
      sometimes it returns the wrong number of users and it's so weird
      because it happens moving the map JUST a little bit. No sense.

      This is a js running the example:
      http://pastie.org/1710646

      It happens both w/ node native driver and shell.

      Thanks in advance

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            yellow jordi domenech
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: