Re: [Neo4j] Finding a Path Between Nodes (filtered by relationship property)

2011-03-22 Thread Mattias Persson
If you're only returning nodes on depth=X (let's say X=4) and want to filter relationships all along the way then maybe I'd use something along the lines of: prune evaluator: { language: javascript, body: position.lastRelationship().getProperty(\userGroupId\,0) == 111; } return filter:

Re: [Neo4j] Finding a Path Between Nodes (filtered by relationship property)

2011-03-21 Thread Max De Marzi Jr.
Add Something like: return filter: { language: javascript, body: position.lastRelationship().hasProperty(\userGroupId\) position.lastRelationship().getProperty(\userGroupId\) == 111;}}) to your traversal. On Mon, Mar 21, 2011 at 9:44 AM, Kevin Dieter kevin.die...@megree.com wrote: Hi, I am