ignore_malformed doesn't always work for invalid geoJSON #31428
Labels
:Analytics/Geo
Indexing, search aggregations of geo points and shapes
>bug
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Elasticsearch version:
6.2.3
JVM version:
1.8.0_161
OS version
Debian 4.9.30-2+deb9u2
Description of the problem including expected versus actual behavior:
For geo_shape fields ignore_malformed:true does not work if the coordinates field contains on object or an array with only one element. Instead of not indexing the field a mapper_parsing_exception is returned and the document is not stored.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: