[DOCS-3109] Add example of geoNear command's return value Created: 10/Apr/14  Updated: 22/May/14  Resolved: 22/May/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.5

Type: Improvement Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Tim Slavin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 9 years, 38 weeks, 6 days ago

 Description   

http://docs.mongodb.org/manual/reference/command/geoNear/

It would be helpful if we documented the expected return value of the geoNear command. Results have dis and obj fields, which contain the calculated distance and the matched document, respectively. I was unable to find any mention of dis and obj in our documentation. We only show examples of invoking the command.



 Comments   
Comment by Githook User [ 22/May/14 ]

Author:

{u'username': u'TimSlavinMongoDB', u'name': u'Tim Slavin (MongoDB)', u'email': u'tim.slavin@10gen.com'}

Message: DOCS-3109: added example output, documented output

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/4a8567900d0bb1b107c5f46cd72e7e9976bd2830

Generated at Thu Feb 08 07:44:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.