Skip to content

Use contains relation for geo_point intersection over geo_point field (#75272)#75321

Merged
iverase merged 1 commit intoelastic:7.xfrom
iverase:backport75272
Jul 14, 2021
Merged

Use contains relation for geo_point intersection over geo_point field (#75272)#75321
iverase merged 1 commit intoelastic:7.xfrom
iverase:backport75272

Conversation

@iverase
Copy link
Copy Markdown
Contributor

@iverase iverase commented Jul 14, 2021

For point queries and intersects, lucene does not match points that are encoded to Integer.MAX_VALUE due to the use of predicates. Use contains instead that returns the expected results.

backport #75272

…elastic#75272)

 Lucene does not match points that are encoded to Integer.MAX_VALUE for intersects.
@iverase iverase merged commit 85a55e1 into elastic:7.x Jul 14, 2021
@iverase iverase deleted the backport75272 branch July 14, 2021 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant