Hi, Craig.  Not crazy at all.  We're doing something similar to flag
   "archived" nodes.  Instead of deleting context(since we want to
   infrequently access the nodes/relationships, but only under certain
   types of queries/traversals), instead we mark the nodes/relationships
   with a boolean property.  Not as space efficient, but in our case,
   since we need to retain the full state, it works fine.





   -------- Original Message --------
   Subject: Re: [Neo4j] Tell neo to not reuse ID's
   From: Craig Taverner <[1]cr...@amanzi.com>
   Date: Wed, June 02, 2010 7:10 pm
   To: Neo4j user discussions <[2]u...@lists.neo4j.org>
   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
   <[3]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
   > [4]u...@lists.neo4j.org
   > [5]https://lists.neo4j.org/mailman/listinfo/user
   >
   _______________________________________________
   Neo4j mailing list
   [6]u...@lists.neo4j.org
   [7]https://lists.neo4j.org/mailman/listinfo/user

References

   1. mailto://cr...@amanzi.com/
   2. mailto://user@lists.neo4j.org/
   3. mailto://m.neumann.1...@gmail.com/
   4. mailto://User@lists.neo4j.org/
   5. https://lists.neo4j.org/mailman/listinfo/user
   6. mailto://User@lists.neo4j.org/
   7. https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to