[SERVER-13218] unable to $and multiple geospatial queries Created: 15/Mar/14 Updated: 10/Dec/14 Resolved: 15/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo, Querying |
| Affects Version/s: | 2.6.0-rc1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pavel Baranov | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
It looks like it has been fixed in 2.5.5 (https://jira.mongodb.org/browse/SERVER-4572)
|
| Comments |
| Comment by Pavel Baranov [ 16/Mar/14 ] | |
|
Perfect. Thank you! | |
| Comment by Daniel Pasette (Inactive) [ 15/Mar/14 ] | |
|
This is because of stricter parsing rules around $maxDistance. The $maxDistance needs to be in the $geometry sub-document in your query. The change is documented here: Try:
|