[JAVA-988] Use $maxDistance in QueryBuilder instead of a 3-element array Created: 03/Oct/13 Updated: 03/Apr/14 Resolved: 08/Dec/13 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Query Operations |
| Affects Version/s: | None |
| Fix Version/s: | 2.12.0, 3.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Sub-Tasks: |
|
| Description |
|
QueryBuilder uses an undocumented form of $near where maxDistance is the 3rd element of a 3-element array. QueryBuilder should be updated to use the documented $maxDistance form. See http://docs.mongodb.org/manual/reference/operator/maxDistance/ |
| Comments |
| Comment by Githook User [ 08/Dec/13 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |