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

Hang on distance() query with index and negative radius #2476

Open
LiorKogan opened this issue Jul 17, 2022 · 2 comments
Open

Hang on distance() query with index and negative radius #2476

LiorKogan opened this issue Jul 17, 2022 · 2 comments

Comments

@LiorKogan
Copy link
Member

RedisGraph 2.8.15

The following command sequence cause Redis to hang:

graph.delete q
graph.query q "CREATE (e:Employer {loc:point({latitude:40.4, longitude:30.3})})"
graph.query q "CREATE INDEX FOR (e:Employer) ON (e.loc)"
graph.query q "MATCH (e:Employer) WHERE distance(point({latitude:40.5, longitude: 30.4}), e.loc) < -20000 RETURN e"
@LiorKogan LiorKogan added the bug label Jul 17, 2022
@LiorKogan
Copy link
Member Author

Related to RediSearch/RediSearch#2857 ?

@gkorland
Copy link
Contributor

duplicate #2433

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

2 participants