Skip to content
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_centroid metric aggregation #13621

Closed
nknize opened this issue Sep 16, 2015 · 0 comments · Fixed by #13846
Closed

add geo_centroid metric aggregation #13621

nknize opened this issue Sep 16, 2015 · 0 comments · Fixed by #13846
Labels
:Analytics/Aggregations Aggregations :Analytics/Geo Indexing, search aggregations of geo points and shapes >feature v2.1.0

Comments

@nknize
Copy link
Contributor

nknize commented Sep 16, 2015

Brought up in discussion of PR #13433 this feature moves the weighted centroid result from geohash_grid_aggregator a its own geo_centroid metric aggregation. This will save space for users that do not care or need the weighted centroid, and decouple the calculation such that it can be used as a subaggregation. This allows the weighted centroid to be calculated based on attributes besides just geolocation (e.g., weights based on population density or median household income)

@nknize nknize added >feature :Analytics/Geo Indexing, search aggregations of geo points and shapes :Analytics/Aggregations Aggregations labels Sep 16, 2015
@nknize nknize self-assigned this Sep 16, 2015
@nknize nknize added the v2.1.0 label Sep 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations :Analytics/Geo Indexing, search aggregations of geo points and shapes >feature v2.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant