Skip to content

Conversation

@iverase
Copy link
Contributor

@iverase iverase commented Dec 12, 2019

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

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.
@iverase iverase added >enhancement :Analytics/Geo Indexing, search aggregations of geo points and shapes v8.0.0 v7.6.0 labels Dec 12, 2019
@iverase iverase requested review from jpountz and nknize December 12, 2019 14:09
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (:Analytics/Geo)

Copy link
Contributor

@jpountz jpountz left a 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?

@iverase
Copy link
Contributor Author

iverase commented Dec 12, 2019

I think we can perform the query as well in 7.5 indexes but not before.

@iverase
Copy link
Contributor Author

iverase commented Dec 12, 2019

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.

@iverase iverase merged commit 7c559be into elastic:master Dec 16, 2019
iverase added a commit that referenced this pull request Dec 16, 2019
…#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.
@iverase iverase deleted the contains branch December 16, 2019 08:18
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
…#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Geo Indexing, search aggregations of geo points and shapes >enhancement v7.6.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CONTAINS query support for BKD-based geoshapes

4 participants