I am indexing some geojson file (around 4000 ~ 5000 multi-polygon features) into Elasticsearch.
Here is the mappings
"mappings": {
"properties": {
"type": {
"type": "keyword"
},
"properties": {
"type": "object"
},
"geometry": {
"type": "geo_shape"
}
}
}
My code for indexing looks like this:
helpers.bulk(es, k, chunk_size=500, request_timeout=1000)
The indexing action (in chunk) is stopped by this error message:
{'type': 'mapper_parsing_exception', 'reason': 'failed to parse field [geometry] of type [geo_shape]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'Unable to Tessellate shape
What is the cause of this error?
Can I ignore this error when indexing geojson files?