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

make multi-point geospatial work with $elemMatch

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Geo, Querying
    • Labels:
      None

      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

            • Votes:
              9 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: