[Neo4j] How to delete a node when it's already deleted ?
mattias at neotechnology.com
Tue Dec 7 22:04:50 CET 2010
2010/12/7, Andres Taylor <andres.taylor at neotechnology.com>:
> On Tue, Dec 7, 2010 at 1:54 PM, Mattias Persson
> <mattias at neotechnology.com>wrote:
>> The (new) integrated index API cleans up deleted nodes/relationships that
>> are left behind automatically and lazily (at least the lucene impl does)
>> no worries for the index part at least.
> Unless you are unlucky, and the index points to a node id that's been
> reused. In which case you'll get false positives, and very hard to
> find/reproduce bugs. I think a more general auto-index solution is needed.
> Don't you agree?
Yes, you're right, there's always that risk. Auto-indexing requires a
meta model, sort of... I think that's why there isn't a generic
auto-indexer already. Sure, there is a meta-model component, but it
hasn't received any love in a long time.
> Neo4j mailing list
> User at lists.neo4j.org
Mattias Persson, [mattias at neotechnology.com]
Hacker, Neo Technology
More information about the User