Hi Nuo,

I've been playing with this for a little while, and after talking it over with 
the devteam, I'm pretty certain that want you want to do isn't yet possible 
through the REST API. To solve your problem, you'd need a return filter like:

"position.endNode().hasProperty('name') && 
!position.endNode().hasRelationship('bar')"

It's the hasRelationship(String) function that's not available here. 

Instead, I'd suggest you code your traversal against one of the Java APIs and 
deploy it as an unmanaged extension or server plugin:

http://docs.neo4j.org/chunked/snapshot/server-unmanaged-extensions.html
http://docs.neo4j.org/chunked/snapshot/server-plugins.html

Jim
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to