Neo4j and Neo4jClient dis and dat

Below is various stuff I have found while working with Neo4j and Neo4jClient.  Helpful?  Dunno.  At least it is better to keep text searchable than living just in my head.  To be forgotten.  Like tears in rain.

Neo4jClient can be installed through Nuget.  Install-Package Neo4jClient.  Awesome.

How to do some calls is here:

Stackoverflow tag for Neo4jClient is here:

Info on creating index is found here:

Creating a relation is a totally different horse than node.  Why? Here is dotnet code for said:

Finding all nodes, and deleting them if wished is found here:
The queries are

START n=node(*)


START n=node(*)
MATCH n-[r?]-() where ID(n) <> 0
DELETE n, r;

(replace &lt;&gt; with <>

Looking at an index in the web client:

For getting all nodes for an index with index name “MyIndexName” and property “MyProperty” write


in the web admin.  It also works with an exact index.

Writing a Relation is not as easy as writing a node.  Se here:

I have not been able to confirm that it is possible to write properties on the relation.

Reading the relation again through its ID is also not as easy a reading a node.  A workaround is to use Gremlin:


Tags: ,

Leave a Reply