Yep, you got it....
On 4/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Sunday 08 April 2007 19:28, Erick Erickson wrote: > If it means they are two are completely separate > operations working with two different indexes in two separate > directories, that's a different situation..... That's what I do. > But are you completely sure you're closing both indexwriters etc. > before you try to merge them? Well, at the end of run() I explicitly close the index and I wait for all threads to finished (join()) before I merge. So, I'm pretty sure, yes. But if it's absolutely mandatory to close the indices addIndexes() should throw some exception in case they haven't closed. > Also, what version of Lucene are you using? I ask because > there has been some work in that area for Lucene 2.1, so it > could point towards different issues if you're using an older > version. I actually build the index with 2.1.0 but open it with 2.0.0....oh, it comes to my mind that there have been some changes in the index format, I cannot open an index built with 2.1.0 using 2.0.0, right? Oops, my fault :) Sorry... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]