-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:Java/MongoDB
*Location*: http://docs.mongodb.org/manual/tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/core/2d/
*Screen Resolution*: 1366 x 768
*repo*: docs
*source*: tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes
Java/MongoDB *Location*: http://docs.mongodb.org/manual/tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/core/2d/ *Screen Resolution*: 1366 x 768 *repo*: docs *source*: tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes
Could not find any documentation ofr these error messages. Hard to understand what's the expected set of values.
{ "location" : { "$near" : [ -40.8 , 45.9] , "$maxDistance" : ".01" , "$type" : "2"}}
com.mongodb.MongoException: error counting :
{ "errmsg" : "exception: type not supported for appendMinElementForType" , "code" : 10061 , "ok" : 0.0} at com.mongodb.DBCollection.getCount(DBCollection.java:771)
at com.mongodb.DBCursor.size(DBCursor.java:632)
at com.gowonder.test.classes.Testclass.main(Testclass.java:76)
Reporter: deblina
E-mail: deblina.karmakar@synechron.com
- duplicates
-
DOCS-335 Error Message Reference
- Closed