#109 ✓resolved
Andreas Ronge

Safe Neo4j-Lucene Transactions

Reported by Andreas Ronge | February 8th, 2010 @ 08:44 PM

There is a problem with synchronization lucene and neo4j transactions.
If neo4j crash just before the lucene index is commited the indexing might never take place.

In version 0.4.0 the index is searchable after the transaction commits.
Do we want to be able to search before the transaction commits ?

Maybe it should be configurable when indexing should be performed:
1. In the transaction
2. Just after transaction
3. Sometime later - Polling some queue of nodes to be indexed.

Maybe use activemq or rabbitmq for option 3, or keep the queue as a linked list of nodes in neo4j ???

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Neo4j.rb is a graph database framework for JRuby.

It provides:

* Mapping of ruby objects to nodes in networks rather than in tables.
* Storage of ruby object to a file system.
* Fast traversal of relationships between nodes in a hugh node space.
* Transaction with rollbacks support.
* Indexing and quering of ruby objects.
* Integration with Rails

People watching this ticket