Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Auto Index for Spatial data #125

Open
thomasfr opened this Issue · 1 comment

1 participant

@thomasfr

It would be a big time saver if created nodes with lat and lon properties would get added automatically to the spatial index (maybe optionally). Because it is not clear, if a node gets added via REST and one forgets to add it to the index explicitly, when we later try make a e.g. "withinDistance" query which in turn should return this node, but since the query is correct we assume the result is also correct, but actually isn't.
i thought that it maybe is possible when working with the node_auto_index feature? http://docs.neo4j.org/chunked/milestone/rest-api-configurable-auto-indexes.html

But thats a workaround in my opinion because it would also disable the possibility for other auto indexes.

@thomasfr

Here is a gist with all necessary steps https://gist.github.com/thomasfr/8103037
I have also added an issue to neo4j directly because i think it is not only related to the spatial plugin: neo4j/neo4j#2048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.