Re: [Neo4j] Filter traversal result by relationship type (REST API)

2011-08-18 Thread Peter Neubauer
Nuo, I don't think you can refer to the return filter via a reference. Could you post your graph and the curl command you are doing so I could take a look at it? It should work ... take even a look at

Re: [Neo4j] Filter traversal result by relationship type (REST API)

2011-08-18 Thread Jim Webber
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')

Re: [Neo4j] Filter traversal result by relationship type (REST API)

2011-08-18 Thread Jim Webber
Hi Nuo, Please ignore my previous mail - Tobias pointed out that my syntax was wrong (thanks Tobias!). Try: position.endNode().hasProperty('name') !position.endNode().hasRelationship([org.neo4j.graphdb.DynamicRelationshipType.withName( 'bar' )]) And it should work fine (look out for