July 2013 Entries

Neo4JClient – Getting Path Results

So, let’s get this straight off the bat – Craig Brett has written about using the PathResults from Neo4jclient (a .NET REST client to Neo4J), but times have moved on, and there are some specifics I’ve needed to work out with the newer clients (this post – for reference uses Neo4jclient version: 1.0.0.590). The problem I want to get all the nodes and relationships from starting node ‘n’ going out ‘x’ levels. In Cypher – that’s pretty simple: START n = node(2) MATCH p = n-[:RELATION*1..3]-() RETURN ......