[DOCS-2222] geoNear command docs do not discuss result format Created: 13/Nov/13 Updated: 11/Jan/17 Resolved: 19/Aug/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Jeremy Mikola | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 9 years, 26 weeks, 1 day ago |
| Description |
|
I believe the documentation for the geoNear used to have an example of the returned result format. I was only able to find an example on this page. The important thing to note is that in the results array of the command result document, each element is an object with the dis (computed distance) and obj (document) fields. |
| Comments |
| Comment by Kay Kim (Inactive) [ 19/Aug/14 ] |