Hey guys,
i want to make a query on a multipolygon array and dont know if it is possible.
i have some tables where the coordinates stored as point and want to find all these document within a polygon or a multipolygon.
on a polygon it works like this example
[
"size" => 20,
"query" => [
"bool" => [
"must" => [
"match_all" => (object)[]
],
"filter" => [
"geo_polygon" => [
"location" => [
"points" => $polygon
]
]
]
]
]
but how to query if the $polygon array is an multipolygon?