-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
LUCENE-8620: LatLonShape contains #608
Conversation
This change has three main features:
The result for a CONTAINS query will be all the shapes that has been marked as CANDIDATE removing all the shapes that has been marked as NOTWITHIN. Note that this method only support shapes with a unique component as it will required much more effort to capture that every component is actually within. Therefore when building a CONTAINS query with a multi-shape, it is translated to a boolean query. |
This is coming along nicely and I like the overall approach. A few general thoughts:
|
Yes, I already thought about splitting the PR and your proposal is similar to what I had in mind. +1 I will prepare a new PR with only the changes on the Tessellator and the edges characterisation. |
I created #872 so I will close this PR. |
LatLonShape's implementation for spatial relationship CONTAINS.