amirouche
amirouche

Reputation: 7873

How is neo4j persistence implemented?

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

Upvotes: 12

Views: 2403

Answers (2)

Tom Ilsinszki
Tom Ilsinszki

Reputation: 623

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.

Upvotes: 9

Bartek Jablonski
Bartek Jablonski

Reputation: 2737

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

Upvotes: 1

Related Questions