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

make multi-point geospatial work with $elemMatch

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Geo, Querying
    • Labels:
    • Query Integration

      For docs like:
      { locations : [

      { place : "beach", loc : [3, 4] }

      ,

      { place : "home" , loc : [4, 4] }

      ] }

      Allow something like : db.coll.find( locations : $elemMatch : { place : "beach", loc : { $within :

      { $center : [[1, 1], 3] }

      } } ) to work.

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            greg_10gen Greg Studer
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: