I need to delete all relationships between all nodes. Is there any way to delete all relationships in the neo4j graph? Note that I am using ruby bindings - the neography
gem.
There is no info about that in the wiki of the gem. I've also tried to find a way to do it in the neo4j documentation without any result.
Neo4j version is 1.7.2.
in cypher:
deleting all relationships:
creating all relationships between all nodes, i'd assume:
but you rather dont want to have too many vertices, since it collapse on low memory (at least in my case i got 1mil vertices and 1gb ram)