[DOCS-2086] $geoNear in aggregation doesn't list the requirement for "spherical: true" for 2dsphere indexes Created: 11/Oct/13 Updated: 05/Aug/14 Resolved: 05/Aug/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.9 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Derick Rethans | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 9 years, 28 weeks, 1 day ago |
| Description |
|
From an email to me: I'm trying to use the following function (take from MongoDB's website):
I have added a 2dsphere index to my collection (stops collection):
However, I have run into this problem:
Adding the {spherical: true}however sorts out the problem:
This piece of information is missing from the |
| Comments |
| Comment by Githook User [ 05/Aug/14 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |
| Comment by Githook User [ 05/Aug/14 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |
| Comment by Githook User [ 05/Aug/14 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |