How is neo4j persistence of nodes and relations implemented? How are indexes handled?
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.
It looks like they use their own storage implementation. Look around org.neo4j.kernel.impl.nioneo.store package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With