[Neo4j] How to delete a node when it's already deleted ?

Andres Taylor andres.taylor at neotechnology.com
Tue Dec 7 18:41:36 CET 2010


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) so
> 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?

Andrés


More information about the User mailing list