No, it doesn't automatically get deleted. But a remedy for that could be to add a Index#remove( T entity ) method (which I plan to add) and have a TransactionEventHandler which listens for deleted nodes/relationships and calls that method on all indices... it could however be quite slow if you have many indexes.
The implementation is currently that if you "forget" to remove it from the index it will be filtered out of the query result silently... but over time 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. 2010/10/27 Marko Rodriguez <[email protected]> > Hello, > > Does removing a node/relationship automatically remove it from all indices? > > Meaning: If I node.delete(), am I certain that its not longer indexed in > any indices that it was indexed in. > > Thank you, > Marko. > > http://markorodriguez.com > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [[email protected]] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

