I was using :test 430 to check the ordering of parameters in the error. It is the same with or without it.
Has anyone run a geoNear command using Monger? My implementation seems to result in the near field being read as a command.
Here is my command:
{:geoNear "collection" :near 50 :test 430 :num 10}
That worked wonderfully. Thank you.
Thank *you* for bringing this up. We will update the docs (and monger.command, monger.collection functions) to recommendand use sorted maps.