-
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
Add geo_bounds aggregation support for geo_shape #55328
Conversation
Pinging @elastic/es-analytics-geo (:Analytics/Geo) |
...main/java/org/elasticsearch/xpack/spatial/aggregations/metrics/GeoShapeBoundsAggregator.java
Outdated
Show resolved
Hide resolved
...-upgrade/src/test/resources/rest-api-spec/test/upgraded_cluster/100_geo_shape_doc_values.yml
Outdated
Show resolved
Hide resolved
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.
LGTM. I think you can review the visibility of some classes but in general ready to go.
server/src/main/java/org/elasticsearch/search/aggregations/metrics/GeoBoundsAggregator.java
Outdated
Show resolved
Hide resolved
run elasticsearch-ci/2 |
thanks Ignacio! |
@giladgal when is going 7.8 to be release ? I think I need this fix. |
@jomach we have released 7.7 on 13-May-2020 so you can roughly guestimate that it is coming in the near future, but we do not commit to specific release dates since by maintaining the flexibility to change the release date (and content) we are able to better balance quality and a rapid release cycle. Kibana Maps is tentatively planned to support geo bounds aggregations on shape when it is released in Elasticsearch and [Maps] geo_shape fit to bounds #64303 is the relevant issue to follow for that, but note that indices created prior to 7.8 will have to be re-indexed to enable doc_values for the geo_shape field. |
This PR adds a new GeoShapeBoundsAggregator to the spatial plugin and registers it with the GeoShapeValuesSourceType.