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

When searching with bounding box query, all results are not returned.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.1
    • Affects Version/s: None
    • Component/s: Geo
    • None
    • ALL

      The query count says 78569 but the actual number returned is 56680.

      http://db.tt/TdExxmq

      log for c# driver:

      09:39:21 [conn36] query MapItems.Standard reslen:4194356 nscanned:
      56680 { LatLng: { $within:

      { $box: [ [ 40.66964021047412, -124.189453125 ], [ 49.23275712290425, -112.060546875 ] ] }

      } }
      nreturned:56680 1435ms

      log for mongo.exe

      09:41:24 [conn4] query MapItems.Standard reslen:264 nscanned:78569
      { query: { LatLng: { $within:

      { $box: [ [ 40.66964021047412, -124.189453125 ], [ 49.23275712290425, -112.060546875 ] ] }

      } },
      $explain: true } nreturned:1 1357ms

        1. mapissue.png
          mapissue.png
          63 kB
        2. 11.png
          11.png
          7 kB
        3. mapissue.png
          mapissue.png
          188 kB

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            rlightner Raine Lightner
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: