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

make multi-point geospatial work with $elemMatch

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Geo, Querying
    • Query Integration

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-integration Backlog - Query Integration
            greg_10gen Greg Studer
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: