Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoQueryCreator must not create $nearSphere query for neutral Distance [DATAMONGO-1139] #2057

spring-projects-issues opened this issue Jan 12, 2015 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented Jan 12, 2015

Oliver Drotbohm opened DATAMONGO-1139 and commented

MongoQueryCreator.from(…) compares the Distance's metric against null which will never result in true as {8Distance}} returns Metric.NEUTRAl by default

Affects: 1.5.4 (Dijkstra SR4), 1.6.1 (Evans SR1), 1.7 M1 (Fowler)

Backported to: 1.6.2 (Evans SR2), 1.5.5 (Dijkstra SR5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants