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

bound query problem within+box

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.6.5, 1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Geo, Indexing, Querying
    • Labels:
      None
    • Environment:
      CentOS release 5.5
      64bits
      kernel 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST
    • Operating System:
      Linux

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: