#61 ✓resolved
Andreas Ronge

Updated Lucene should be visible before commit

Reported by Andreas Ronge | August 1st, 2009 @ 11:30 PM

Today it is required to commit in order to make the updated lucene index visible.
It would be better if the updated lucene index was visible before the commit but invisible to other transactions.

From http://markmail.org/message/pzet3e7gfszzyhou:

You should open the IndexWriter with autoCommit=false, then make changes. During this time, any reader that opens the index will not see any changes you are making.

Then, you can call close() to commit the changes to the index, or abort() to rollback the index to the starting state (when the writer was opened).

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