-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Geo, Index Maintenance, Querying
-
Query Integration
Would be nice to be able to sort the results of a geo query according to their distance to another point. Syntax would be something like:
db.foo.find(...).sort({loc : {$near : [lat,long]}})
- is related to
-
SERVER-153 javascript sort helper for custom sorting / indexing
- Backlog