jejking / hh-nord-geocoder

tm470
GNU General Public License v3.0
0 stars 0 forks source link

"unify" different spatial indexing approaches to allow both API and cypher queries #13

Closed jejking closed 10 years ago

jejking commented 10 years ago

The spatial indexes created by the Spatial Database Service are not registered as index providers and so the spatial functions cannot be accessed using "start" clauses in a cypher query, which makes ad-hoc querying rather hard.

See if we can figure out how to use these together.

jejking commented 10 years ago

From the code it appears that the LayerNodeIndex of Neo4j Spatial is just a wrapper around EditableLayers, which we are already working with. They are linked by the name of index being the name of the editable layer, so I think we'll add a formal index creating step in AbstractNeoImporter where we create other indexes and schema elements.