在为有效的地理形状编制索引时无法细分形状错误

时间:2020-02-26 10:24:00

标签: elasticsearch

此几何根据postgresql(postgis)st_isvalid方法有效 但是Elasticsearch在索引编制时会引发llegal_argument_exception错误

https://gist.github.com/owexroasia/127c61ee41304fe2d2d0e0015216a780

{“类型”:“ mapper_parsing_exception”,“原因”:“无法解析字段 [ranges.geometry]类型 [geo_shape]“}],” type“:” mapper_parsing_exception“,” reason“:”失败 分析类型的字段[ranges.geometry] [geo_shape]“,” caused_by“:{” type“:” illegal_argument_exception“,” reason“:”无法 到棋盘格形状