[Neo4j] Does removing a node/relationship automatically remove it from all indices?
rick.bullotta at burningskysoftware.com
Wed Oct 27 19:11:21 CEST 2010
I think so ;-). But I suppose one question is, with the new framework, will
you still be able to explicitly remove/delete a node from an index?
From: user-bounces at lists.neo4j.org [mailto:user-bounces at lists.neo4j.org] On
Behalf Of Mattias Persson
Sent: Wednesday, October 27, 2010 1:06 PM
To: Neo4j user discussions
Subject: Re: [Neo4j] Does removing a node/relationship automatically remove
it from all indices?
I assume we're talking about the new integrated index framework (not
IndexService), right? The Index framework which will replace
IndexService and has ability to index relationships and all that?
It's not a hard thing to implement the auto self-healing, clearing of
deleted entities from an index when encountered... I just haven't
gotten around to it. It's quite a nice feature, since it already hides
them for you, it might as well delete them for you.
2010/10/27, Marko Rodriguez <okrammarko at gmail.com>:
>> The implementation is currently that if you "forget" to remove it from
>> index it will be filtered out of the query result silently... but over
>> that list of dead entities could grow, if the index couldn't somehow
>> self-heal, which it definately could... well a lot could be done there.
> Yes. This is what I noticed: I was deleting vertices/edges, and when
> querying the index, they were not returned. So I assumed that you had
> clearing" in the Index implementation. I was excited. However, now I see
> a "silent delete" on query.
> Now, I suppose in Blueprints, I can, for every deleted vertex/edge, go
> through the indices and remove them for every key/value property they
> However, this is time consuming and would yield slow delete speeds.
> Thoughts? Should I just let the "silent delete" happen? Will there be
> to automagically remove non-existent PropertyContainers from the indices?
> Thank you for your time,
> Neo4j mailing list
> User at lists.neo4j.org
Mattias Persson, [mattias at neotechnology.com]
Hacker, Neo Technology
Neo4j mailing list
User at lists.neo4j.org
More information about the User