Re: [Neo4j] traversing backwards to reference node

2011-06-17 Thread Matt C
Thanks guys, this mailing list is awesome. On Thu, Jun 16, 2011 at 6:29 AM, Marko Rodriguez okramma...@gmail.comwrote: Hi, I think what he's asking for is just to collect properties along the way. Yea. You are right he said adding a name property to a list. In Gremlin, if you are

Re: [Neo4j] traversing backwards to reference node

2011-06-16 Thread Mattias Persson
2011/6/12 Marko Rodriguez okramma...@gmail.com Hi, In Gremlin (http://gremlin.tinkerpop.com), you can do: startSet = [ ... ] // fill an array/set with leaves. startSet.in.sideEffect{it.myProperty = 'blah'}.loop(2){true} In this code, it assumes no cycles in the graph and

Re: [Neo4j] traversing backwards to reference node

2011-06-16 Thread Marko Rodriguez
Hi, I think what he's asking for is just to collect properties along the way. Yea. You are right he said adding a name property to a list. In Gremlin, if you are still interested: x = [ ] // return list startSet = [ ... ] // fill an array/set with leaves

Re: [Neo4j] traversing backwards to reference node

2011-06-12 Thread Rick Bullotta
as you do (e.g. include the full path name?). -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Matt C Sent: Saturday, June 11, 2011 11:42 PM To: Neo4j user discussions Subject: [Neo4j] traversing backwards to reference node Hey all

Re: [Neo4j] traversing backwards to reference node

2011-06-12 Thread Rick Bullotta
[mailto:user-boun...@lists.neo4j.org] On Behalf Of Matt C Sent: Saturday, June 11, 2011 11:42 PM To: Neo4j user discussions Subject: [Neo4j] traversing backwards to reference node Hey all, I'm new to Neo4j and I'm really liking it. I'm not sure if its the right tool for my particular job though. I'd

Re: [Neo4j] traversing backwards to reference node

2011-06-12 Thread Marko Rodriguez
Hi, In Gremlin (http://gremlin.tinkerpop.com), you can do: startSet = [ ... ] // fill an array/set with leaves. startSet.in.sideEffect{it.myProperty = 'blah'}.loop(2){true} In this code, it assumes no cycles in the graph and that the root of the tree as no incoming edges.

[Neo4j] traversing backwards to reference node

2011-06-11 Thread Matt C
Hey all, I'm new to Neo4j and I'm really liking it. I'm not sure if its the right tool for my particular job though. I'd like to model a rather larse filesystem (multi-petabyte) and use it to overlay additional metadata or info. The nice thing about neo4j is that if someone moves deeply nested