[SERVER-9395] $near should have a $minDistance operator Created: 18/Apr/13  Updated: 11/Jul/16  Resolved: 10/Jul/13

Status: Closed
Project: Core Server
Component/s: Geo
Affects Version/s: None
Fix Version/s: 2.5.1

Type: New Feature Priority: Major - P3
Reporter: Ian Bentley Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 1
Labels: pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DOCS-3112 Document $minDistance operator and mi... Closed
is depended on by SERVER-3925 Add .skip() equivalent for $geoNear d... Closed
Duplicate
duplicates SERVER-6764 $minDistance geospatial query option Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

This would add support for pagination.



 Comments   
Comment by Matt Kangas [ 10/Jul/13 ]

Merged in 53dab689a519b4daf6a5c4772123b74616c0283b

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@10gen.com'}

Message: SERVER-9395 Implement $minDistance for geoNear command

Squashed:

  • Spelling in comment.
  • $minDistance option for $near queries with 2dsphere index. SERVER-9395
  • Implement $minDistance for geoNear command. SERVER-9395
  • uassert that geoNear's min/maxDistance param is non-negative
  • More $nearSphere tests. SERVER-9395
  • uassert that minDistance isn't used with 2d index. 2dsphere index is required.
  • More informative error if assert.throws is misused.

Signed-off-by: Matt Kangas <matt.kangas@10gen.com>
Branch: master
https://github.com/mongodb/mongo/commit/53dab689a519b4daf6a5c4772123b74616c0283b

Generated at Thu Feb 08 03:20:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.