If I remember correctly, with my code, I had to create and close the IndexWriter inside a single transaction. If the same IndexWriter is used for several transactions and there is a rollback, it can corrupt the indexes. It's just sligthly annoying but I am curious if you ran into this 'problem'. Oscar
Donovan Aaron <[EMAIL PROTECTED]> wrote: I was aware of jacid. In its current form it could not be used with the JCA connector because the DbDirectory opens the database. Given that I was going to have to write some code, I decided to use Andi's code as a starting point because it seemed cleaner and has seen wider use. Regards, Aaron -----Original Message----- From: Oscar Picasso [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 10:06 AM To: [email protected] Subject: JE implementation Hi, Around one year ago, I made a Berkeley DB JE implementation of a Lucene Directory. I was initially inspired by the Andi Vajda code. I released it under an Apache License but didn't publicize it. Lately I have read there is some talks about DB JE base directories so if someone is interested you can find the code at http://xenata.sourceforge.net/multiproject/jacid/cvs-usage.html Aaron Donovan's implementation seems to be closer to the original Andi code . I think that my implementation uses higher level DB JE objects, like StoredClassCatalog, JE Map implementation and so on. I would be interested by a comparison between the two implementations. Oscar Picasso --------------------------------- Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP.
