views:

265

answers:

3

How is neo4j persistence of nodes and relations implemented? How are indexes handled?

A: 

Michael, if you don't get an answer here, you might ask in the Neo4j community list, https://lists.neo4j.org/mailman/listinfo/user for better luck ...

+1  A: 

On indexes: Neo4j does not have indexes on it's own. It only has an interface called IndexerService, that is implemented by Lucene (for example), which is quite fast and handles exact and full-text searches quickly, but does not support any-search.

It's easy to index nodes in neo4j, you just call the function index(node, key, value); and it's indexed.

Not sure about how persistence is implemented.

Tom Ilsinszki
A: 

It looks like they use their own storage implementation. Look around org.neo4j.kernel.impl.nioneo.store package.

Bartek Jablonski