Just started testing Geo Queries today with our data after migrating to v1.0.5 for Dgraph, and then I went to the master build. It would seem that neither of them have functional geo queries at all?
We relied heavily on get “near” queries and they seem to not work at all. The index is there, and the type is Geo. The geojson is stored correctly, and it worked back in 0.8.3. We need this to continue using, as we are about to be live with this version.
We are running the latest docker image from Dgraph, but I also tested with the 1.0.5 docker image. Same result.
We have 3 servers, replication 3x, one dgraph zero.
Example:
This Entity location is in our graph:
"ENTITY_location_general": {
"type": "Point",
"coordinates": [
-86.158068,
39.768403
]
},
This query still returns nothing:
{
start(func: near(ENTITY_location_general, [-86.158068, 39.768403], 4000)) {
ENTITY_id
ENTITY_name
ENTITY_location_general
}
}