Here is a crazy idea that probably only works for nodes. Don't actually delete the nodes, just the relationships and the node properties. The skeleton node will retain the id in the table preventing re-use. If these orphans are not relevant to your tests, this should have the effect you are looking for.
On Wed, Jun 2, 2010 at 8:17 PM, Martin Neumann <m.neumann.1...@gmail.com>wrote: > Hej, > > Is it somehow possible to tell Neo4j not to reuse id's at all? > > Im running some experiments on Neo4j and I want to add and delete the > nodes and relationships. To make sure that I can repeat the same > experiment I create a log containing the ID's of the nodes i want to > delete. To make sure that I can rerun the experiment each node I add > has to have the same ID in each experiment. > If ID's can be reused that is not always the case thats why I need to > turn it off or work around it. > > hope for your help > cheers Martin > _______________________________________________ > 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