I'm scratching my head regarding touching geo-shapes not being found.
My queries look like this:
{
"query": {
"bool": {
"must_not": [
{ "term" : { "_id": "_id_" } }
],
"filter": {
"geo_shape": {
"geometry": {
"indexed_shape": {
"index": "census_austria",
"type": "FeatureCollection",
"id": "_id_",
"path": "geometry"
},
"relation": "intersects"
}
}
}
}
}
}
To demonstrate my set of data here are a few screenshots.
"id" refers to a document in the center, marked by the red lines and dots (= polygon coordinates). The coordinates seem to be shared on touching "lines", which is also correlated by the fact that if the center polygon changes, the correct neighbors are found (and others missing).
Am I doing something wrong or is this a limitation / bug?
ES version is 6.7.1.
The first image is the larger center shape missing three neighbors at the bottom. Starting from a different document the first shape is always found as a neighbor (at the top), but the shapes themselves (except for image 4) are missing at least one neighbor at the bottom.