Skip to content

[7.x] Adds support for geo-bounds filtering in geogrid aggregations #50996

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

Merged
merged 2 commits into from
Jan 14, 2020

Conversation

talevy
Copy link
Contributor

@talevy talevy commented Jan 14, 2020

It is fairly common to filter the geo point candidates in
geohash_grid and geotile_grid aggregations according to some
viewable bounding box. This change introduces the option of
specifying this filter directly in the tiling aggregation.

This is even more relevant to geo_shape where the bounds will restrict
the shape to be within the bounds

this optional bounds parameter is parsed in an equivalent fashion to
the bounds specified in the geo_bounding_box query.

backport of #50002.

…c#50002)

It is fairly common to filter the geo point candidates in
geohash_grid and geotile_grid aggregations according to some
viewable bounding box. This change introduces the option of
specifying this filter directly in the tiling aggregation.

This is even more relevant to `geo_shape` where the bounds will restrict
the shape to be within the bounds

this optional `bounds` parameter is parsed in an equivalent fashion to
the bounds specified in the geo_bounding_box query.
@talevy talevy added :Analytics/Geo Indexing, search aggregations of geo points and shapes backport labels Jan 14, 2020
@elasticmachine
Copy link
Collaborator

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

@talevy
Copy link
Contributor Author

talevy commented Jan 14, 2020

run elasticsearch-ci/2

talevy added a commit to talevy/elasticsearch that referenced this pull request Jan 14, 2020
talevy added a commit that referenced this pull request Jan 14, 2020
@talevy talevy merged commit 9ee2e11 into elastic:7.x Jan 14, 2020
@talevy talevy deleted the 7x-6c86606d2 branch January 14, 2020 19:18
talevy added a commit that referenced this pull request Jan 14, 2020
…fter #50996 (#50997)

after #50996 (backport of #50002) merged, the version guard 
on geo-grid `bounds` parameter can be updated to 7.6

re-enables bwc tests
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
…fter elastic#50996 (elastic#50997)

after elastic#50996 (backport of elastic#50002) merged, the version guard 
on geo-grid `bounds` parameter can be updated to 7.6

re-enables bwc tests
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 backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants