Re: IndexWriter mergeSegments

2006-05-07 Thread Nadav Har'El
Karel Tejnora <[EMAIL PROTECTED]> wrote on 03/05/2006 02:29:06 AM:> >.. > Before compound file is created the segments info are written but points > to non-existing coumpound file then new .tmp is created and renamed to .cfs > Between time when new segments was written and new cfs is creating Index

IndexWriter mergeSegments

2006-05-02 Thread Karel Tejnora
was written and new cfs is creating Index reader in different application whith no care about a lock can take segment with empty cfs resulting in empty hits. The lines of the code can be found in IndexWriter mergeSegments(int,int) btw. 696 and 712 /* segments written, new cfs has not been