[SERVER-9341] geoNear won't accept GeoJSON structure Created: 12/Apr/13 Updated: 11/Jul/16 Resolved: 01/Jul/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo |
| Affects Version/s: | 2.4.1 |
| Fix Version/s: | 2.5.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Víctor Penela | Assignee: | Daniel Pasette (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Simple geoNear query with a GeoJSON Point as near value.
Response:
Same query with legacy point structure:
Response:
|
| Comments |
| Comment by auto [ 01/Jul/13 ] | ||
|
Author: {u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}Message: | ||
| Comment by Daniel Pasette (Inactive) [ 28/Jun/13 ] | ||
|
Added a doc ticket to clarify the type of query which should be used depends on the index type: | ||
| Comment by hari.khalsa@10gen.com [ 02/May/13 ] | ||
|
Really a docs ticket. Need to make it clearer that you can't use geojson with 2d index type. And/or error better. | ||
| Comment by Scott Hernandez (Inactive) [ 12/Apr/13 ] | ||
|
Please include the indexes for this collection, and sample of the docs in the collection.
|