geo_near

10 views
Skip to first unread message

Leo

unread,
Jun 7, 2011, 7:19:09 AM6/7/11
to mongoid-geo
Is geoNear function in mongoid-geo implemented differently from
mongodb's own geoNear command? I see a field of "distance" along with
other fields in the document is created after executing geoNear
function in order to get distance and sort by it. It takes more than
10 seconds to execute 1 geoNear function in a document of around 50K
records in my environment while mongodb's native geoNear takes no time
at all.

Is there anything that I might have misconfigured?
Reply all
Reply to author
Forward
0 new messages