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
Exception from geohash_grid aggregation with array of points (ES 1.4.0) #8507
Labels
Comments
We did quite a significant refactoring of fielddata in 1.4 in order to better integrate with Lucene, I'm wondering that this could be related. I'm looking into it... |
jpountz
added a commit
to jpountz/elasticsearch
that referenced
this issue
Nov 17, 2014
This aggregation creates an anonymous fielddata instance that takes geo points and turns them into a geo hash encoded as a long. A bug was introduced in 1.4 because of a fielddata refactoring: the fielddata instance tries to populate an array with values without first making sure that it is large enough. Close elastic#8507
jpountz
added a commit
that referenced
this issue
Nov 20, 2014
This aggregation creates an anonymous fielddata instance that takes geo points and turns them into a geo hash encoded as a long. A bug was introduced in 1.4 because of a fielddata refactoring: the fielddata instance tries to populate an array with values without first making sure that it is large enough. Close #8507
jpountz
added a commit
that referenced
this issue
Nov 20, 2014
This aggregation creates an anonymous fielddata instance that takes geo points and turns them into a geo hash encoded as a long. A bug was introduced in 1.4 because of a fielddata refactoring: the fielddata instance tries to populate an array with values without first making sure that it is large enough. Close #8507
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
This aggregation creates an anonymous fielddata instance that takes geo points and turns them into a geo hash encoded as a long. A bug was introduced in 1.4 because of a fielddata refactoring: the fielddata instance tries to populate an array with values without first making sure that it is large enough. Close elastic#8507
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using a geohash_grid aggregation used to work on arrays of points, but with ES 1.4.0 an exception occurs instead. The following curl commands reproduce the issue on a clean installation of ES:
On Elasticsearch 1.3.5 this produces the expected result:
However on Elasticsearch 1.4.0 this triggers a failure:
The log contains this exception:
The text was updated successfully, but these errors were encountered: