-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
"CONTAINS" support for BKD-backed geo_shape and shape fields #50141
Conversation
Lucene 8.4 added support for "CONTAINS", therefore in this commit those changes are integrated in Elasticsearch. This commit contains as well a bug fix when querying with a geometry collection with "DISJOINT" relation.
Pinging @elastic/es-analytics-geo (:Analytics/Geo) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to disallow this relation on pre-7.6 indices?
server/src/main/java/org/elasticsearch/index/query/VectorGeoShapeQueryProcessor.java
Outdated
Show resolved
Hide resolved
I think we can perform the query as well in 7.5 indexes but not before. |
elasticseatch 7.5.0
I checked and yes, we started labelling the edges of a polygon in Lucene 8.3 so indexes created in Elasticsearch 7.5.x are fine. I added the check but I need to work out how to test this feature. We can improve the error message as well. |
…#50213) Lucene 8.4 added support for "CONTAINS", therefore in this commit those changes are integrated in Elasticsearch. This commit contains as well a bug fix when querying with a geometry collection with "DISJOINT" relation.
…#50141) Lucene 8.4 added support for "CONTAINS", therefore in this commit those changes are integrated in Elasticsearch. This commit contains as well a bug fix when querying with a geometry collection with "DISJOINT" relation.
Lucene 8.4 added support for "CONTAINS", therefore in this commit those
changes are integrated in Elasticsearch. This commit contains as well a
bug fix when querying with a geometry collection with "DISJOINT" relation.
Closes #41204