Kan, I also pushed an example for this which should be online under http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html in some hour, when the build is through. If you care, feel free to check it out.
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Tue, Oct 4, 2011 at 9:55 AM, KanTube <[email protected]> wrote: > Thanks > > fyi: the syntax for this using my .net client > > GremlinScript script = new GremlinScript(); > > script.Append("results = [];") > .Append("a = ").gV(ID).Append(";") > .Append("a").In(RelationshipType.Like).Filter("!it.getProperty('{0}')", > NodeProperty.Delete) > .Append(" >> results;") > > .Append("a").Out(RelationshipType.Friend).Filter("!it.getProperty('{0}')", > NodeProperty.Delete) > .Append(" >> results;") > .Append("results;"); > > IEnumerable<Node> AllNodes = Gremlin.Post<Node>(script); > > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Gremlin-syntax-for-multiple-paths-in-one-call-tp3392311p3392423.html > Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

