[Neo] Some newbie questions about indexing

Dan Heaver dan.heaver at peepwl.com
Wed Feb 10 13:23:18 CET 2010


Hi Thomas,

Welcome to the list...  as an aside and I know Its off topic but has
anyone else spotted that 'Thomas Anderson' was the name of the
character that became 'Neo' in the matrix ?

Dan

On 10 Feb 2010, at 09:58, Thomas Andersson <greddbullen at gmail.com>
wrote:

> Hi,
>
> I'm new to neo4j and have some questions about indexing using
> IndexService and Lucene.
>
> If I create a LuceneIndexService as mentioned in the examples like
> this:
>
> IndexService index = new LuceneIndexService( graphDb );
>
> Have I understood it correctly if I assume that the index is persisted
> and stored in the same directory as the neo4j database itself? Or is
> the index in memory only?
>
> Does the index share the same transaction handling as neo4j itself?
> That is, if a for example do the following:
>
> Start a neo4j transaction
> Add a node to neo4j
> Add an entry to the index for the node
> Roolback the transaction
>
> Will the index be rolled back as well? Or do I have to manually remove
> the index entry?
>
> Best regards,
> Thomas
> _______________________________________________
> Neo mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user


More information about the User mailing list