Hi Alireza, Right now there is only one option, the IndexProvider implementation, which allows you to view the spatial index as an index in cypher, and access it using the 'START n=node:A(B)' syntax, where 'A' is your index name and 'B' contains your query. This only allows a limited set of possible queries.
Interestingly one of the best descriptions of this support was given by Jim Biard in Stack Overflow at http://stackoverflow.com/questions/24548819/neo4j-spatial-contain-search. I welcome to you read through that. Our own plans to add spatial functionality to Cypher will be quite different, based more on the newer 'Schema Index' approach in 2.x, and allowing spatial functions in the cypher predicates themselves (in the WHERE clauses). This should be more intuitive, but ill not be available for some time. This support will be part of an official neo4j release and as such have documentation included in the normal neo4j documentation. The documentation for the older spatial library is a bit scattered unfortunately. And I think Jim's answer looked like a particularly comprehensive answer to me. Regards, Craig On Fri, Oct 17, 2014 at 12:14 PM, Alireza Rezaei Mahdiraji < [email protected]> wrote: > > Hi All, > > I would like to know how much of spatial neo4j queries are expressible > using Cypher? > Is there any documentation of this? > > Thanks, > Alireza > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
