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

spring data mongodb miss $near query #2141

Closed
muka opened this issue May 2, 2017 · 2 comments
Closed

spring data mongodb miss $near query #2141

muka opened this issue May 2, 2017 · 2 comments

Comments

@muka
Copy link

muka commented May 2, 2017

Hi
I am using spring boot 1.5.2 and followed more or less this code with Double[] and Point

https://bugs.launchpad.net/querydsl/+bug/727942

I see there is no near method, maybe due to missing boot support.

Is it possible to explicitly add to the querydsl Predicate a $near* query?

Thank you

@Shredder121
Copy link
Member

There is a near method, but on the Point class.

public BooleanExpression near(double latVal, double longVal) {
return MongodbExpressions.near(this, latVal, longVal);
}

Did you maybe not set up the annotation processing correctly/completely to make use of the Point class?

@stale
Copy link

stale bot commented Jun 3, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 3, 2021
@stale stale bot closed this as completed Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants