Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
35
Description
$geoNear queries can specify a $geometry operand without having to specify a type. This is partially because $geoNear expects a geometry of type "Point" at all times. While we may add a consistency check on the type in the future, for now we simply want to allow this type of query to re-parse correctly. This means that we should handle cases where the "type" passed in is also invalid as is the case for this BF.
In this case:
"type": 'b.c' |
Attachments
Issue Links
- is related to
-
SERVER-84598 $geoNear allows missing or invalid GeoJSON "type" field
-
- Closed
-