Skip to content

Support for pluscode geohash grid aggregation#30231

Closed
nyurik wants to merge 19 commits intomasterfrom
pluscode
Closed

Support for pluscode geohash grid aggregation#30231
nyurik wants to merge 19 commits intomasterfrom
pluscode

Conversation

@nyurik
Copy link
Copy Markdown
Contributor

@nyurik nyurik commented Apr 28, 2018

This PR is based on #30320, which adds support for multiple hashing algorithms. This PR adds the plus code support to geohash grid aggregation (see also devs docs).

Testing

To test manually, use the documentation example, and simply add "type": "pluscode" to the request.

TODO

  • agree on naming - currently it's "type": "pluscode". Alternatives: plus, pluscodes, ...?
  • Use external lib com.google.openlocationcode instead of copying code

Why Plus Code

Plus codes can be searched in Google and Google maps, showing needed location.
They have a number of important advantages -
see extensive comparison with other hashing approaches.

@nyurik nyurik added the :Analytics/Geo Indexing, search aggregations of geo points and shapes label Apr 28, 2018
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search-aggs

@polyfractal
Copy link
Copy Markdown
Contributor

@nyurik I think we should we close this? I'm assuming it needs to be refactored since we changed how geotile was implemented since this was open, and IIRC we don't have plans to work on pluscode in the near future?

We can re-open if/when we decide to start working on pluscode, but for now it's probably fine to close so we don't have old stale PRs lingering.

@nyurik
Copy link
Copy Markdown
Contributor Author

nyurik commented Feb 28, 2019

Closing as this needs to be refactored to support new base classes.

@nyurik nyurik closed this Feb 28, 2019
@polyfractal
Copy link
Copy Markdown
Contributor

👍 thanks @nyurik!

@colings86 colings86 deleted the pluscode branch May 27, 2020 07:40
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 >feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants