Is there a way to create an index from Neo4jClient? I made a raw request, but I don't think this is the best option. My reason for this is testing when I need to drop / recreate databases to test the performance of various projects.
You can do indexes like:
graphClient.Cypher .Create("INDEX ON :Label(Property)") .ExecuteWithoutResults();
and type restrictions:
graphClient.Cypher .CreateUniqueConstraint("identity", "property") .ExecuteWithoutResults();
(originally from How to create a Node with Neo4jClient in Neo4j v2? )