Skip to content

Geo_shape indexing issue - java.lang.ArrayIndexOutOfBoundsException #25933

@aj7

Description

@aj7

Elasticsearch version: 5.4.1

Plugins installed: []

JVM version (java -version): java version "1.8.0_131"

OS version (uname -a if on a Unix-like system): MacOS 10.11.6

Description of the problem including expected versus actual behavior:
Have been trying to index a lot of geometry, and getting consistently the same problems with those geometry/polygons that seem to contain a lot of vertices. Have tried importing the shapefile, and geojson through ogr2ogr. also tried generating a json file to use with bulk update. The error I am getting is an ArrayOutofBoundsException.

Also to note, if I upload the JSON file without specifying a mapping i.e. a geo_shape, then the data gets sucked in, but I would expect it's then not indexed.

As I have consistently been able to reproduce this with different upload routes, I am assuming it has to be a bug - is there a way around it?

Error I am getting is below:
https://gist.github.com/aj7/12fa99044901d7db8b42a5d5d5753bf8

I am happy to attach the json file if someone want's to try and see for themselves?

Metadata

Metadata

Assignees

Labels

:Analytics/GeoIndexing, search aggregations of geo points and shapes>bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions