You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Christian Rodriguez <cr...@gmail.com> on 2004/09/23 02:53:32 UTC

Transcations in Lucene + Berkeley DB

Hi Luceners!

I am trying to use transcations in the Berkeley DB + Lucene package
from the sandbox. Has anyone done this succesfully? I dont see any
transactions being commited or aborted in the code, so I wonder if
transactions actually work (shouldnt the main transaction that is used
for opening a DbDirectory be commited when DbDirectory.close() is
executed? Should File.rename() enclose the "delete" and "put" in a
transaction to make sure it happens atomically?

Also, has anyone used transactions to enclose Lucene operations aside
from the txn that is passed to the DbDirectory.open() function?

Thanks!
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org