Last active
August 29, 2015 14:02
-
-
Save nicerobot/10c8daf5273017b8b1c7 to your computer and use it in GitHub Desktop.
ElasticSearch 1.2.1 Bug - InvalidShapeException: Too few distinct points in geometry component at - https://github.com/elasticsearch/elasticsearch/issues/6492
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.elasticsearch.index.mapper.MapperParsingException: failed to parse [shape_] | |
at org.elasticsearch.index.mapper.geo.GeoShapeFieldMapper.parse(GeoShapeFieldMapper.java:249) | |
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:538) | |
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:480) | |
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:515) | |
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:462) | |
at org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:394) | |
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:413) | |
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:155) | |
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:534) | |
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:433) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:744) | |
Caused by: com.spatial4j.core.exception.InvalidShapeException: Too few distinct points in geometry component at or near point (-71.1651, 42.1832, NaN) | |
at com.spatial4j.core.shape.jts.JtsGeometry.validate(JtsGeometry.java:125) | |
at org.elasticsearch.common.geo.builders.ShapeBuilder.jtsGeometry(ShapeBuilder.java:87) | |
at org.elasticsearch.common.geo.builders.MultiPolygonBuilder.build(MultiPolygonBuilder.java:76) | |
at org.elasticsearch.index.mapper.geo.GeoShapeFieldMapper.parse(GeoShapeFieldMapper.java:234) | |
... 12 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment