Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
ALL
-
Description
2dSphere index is built on the "loc" field. If collection has number of documents but none of the documents has the "loc" field, the geospatial find() against this collection will return $err 16885 : $near requires a point given.
Expected result empty cursor.
Non geospatial searches on non existing fields return empty cursors.