I have this document (the structure of document can be changed)
"id" : "1",
"location" : {
"type" : "geometrycollection",
"geometries" : [
{
"type" : "circle",
"coordinates" : [
47.3188019,
47.3188019
],
"radius" : 500
},
{
"type" : "circle",
"coordinates" : [
47.3188019,
47.3188019
],
"radius" : 2000
}
]
}
}
when i tried to find intersections or within(radius 500), with this geo queres
{
"query":{
"bool": {
"must": {
"match_all": {}
},
"filter": {
"geo_shape": {
"location": {
"shape": {
"type": "circle",
"coordinates": [
47.3188019,
47.3188019
],
"radius": 500
},
"relation": "within"
}
}
}
}
}
}
it don't find any document, but when a changed it to radius=2000, it working
so the questions, is it possible to find document with radius=500