[SERVER-18993] geoNear aggregate operator ignores minDistance Created: 16/Jun/15 Updated: 18/Jun/15 Resolved: 16/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework, Geo |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Steps To Reproduce: |
Regardless of supplied minDistance, it will always at least return [0,0]. |
||||||||||||
| Participants: | |||||||||||||
| Description |
|
The geoNear aggregate operator ignores the supplied minDistance. The minDistance option is not documented (http://docs.mongodb.org/manual/reference/operator/aggregation/geoNear/) but I don't see a reason why it isn't included. It isn't mentioned under the exceptions from the ordinary geoNear command. |
| Comments |
| Comment by Kevin Albertson [ 16/Jun/15 ] |
|
Realized that this is a duplicate of |