I wrote a plugin for that. See here:
You can just download the jar, put it in your plugins folder and add it to your config. https://github.com/jexp/neo4j-clean-remote-db-addon https://github.com/jexp/neo4j-clean-remote-db-addon/downloads Am 07.12.2011 um 00:11 schrieb Dmytrii Nagirniak: > Hi, > > I wonder what is the easiest and fastest way to clear the database over the > REST API. > > The purpose is to use it during testing and this needs to be as fast as > possible. > The data volume is not expected to be large, so maybe simple retrieval of all > relationships, nodes and then batch-deleting those would be sufficient. > > But the question is how do I get all nodes (not necessarily interconnected or > attached to ref-node) and relationships? > > Cheers, > Dima > http://www.ApproachE.com > > > > > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user