You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bit of reading reveals that the MongoDB Geospatial index will return 100 documents by default (http://www.mongodb.org/display/DOCS/Geospatial+Indexing). I can't seem to override it though. I'm looking into it now but thought I would raise it here in case somebody can figure it out before me.
For some reason, no matter how many matching documents I should have, I'm always getting max 100 results back.
A bit of reading reveals that the MongoDB Geospatial index will return 100 documents by default (http://www.mongodb.org/display/DOCS/Geospatial+Indexing). I can't seem to override it though. I'm looking into it now but thought I would raise it here in case somebody can figure it out before me.
FYI, I'm using mongoid_spacial 0.2.1, mongoid 2.3.3, mongo (gem) 1.4.0, MongoDB 1.8.2 & Ruby 1.9.3-p0.
The text was updated successfully, but these errors were encountered: