You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?