version 6.7.2
{
"properties": {
"boundaries": {
"type": "geo_shape",
"ignore_malformed":true
}
}
}
but ignore_malformed doesn't work.
I can't get documents using this query(below).
{
"query":{
"bool": {
"must": {
"match_all": {}
},
"filter": {
"geo_shape": {
"boundaries": {
"shape": {
"type": "Polygon",
"coordinates" : [82.230177, 52.045447]
},
"relation": "contains"
}
}
}
}
}
}
it returns this.
"type": "parse_exception",
"reason": "invalid LinearRing provided for type polygon. Linear ring must be an array of coordinates"
How can I solve this? Does it mean my coordinates are invalid?