Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
Linux, MongoDB 2.4.6
*Location*: http://docs.mongodb.org/manual/reference/operator/query/geoWithin/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1
*Referrer*: https://www.google.co.uk/
*Screen Resolution*: 1280 x 1024
*repo*: docs
*source*: reference/operator/query/geoWithin
Linux, MongoDB 2.4.6 *Location*: http://docs.mongodb.org/manual/reference/operator/query/geoWithin/ *User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 *Referrer*: https://www.google.co.uk/ *Screen Resolution*: 1280 x 1024 *repo*: docs *source*: reference/operator/query/geoWithin
Description
I have mongoDB 2.4.6 on Linux. I have a collection where loc field stores geographic coordinates. Examples shown here with "geoWithin" don't work, while if the deprecated method ("within") is used they work. Seems that the given documentation does not correspond to version 2.4?