Re: Indexing and deleting simultaneously..

2005-12-27 Thread Yonik Seeley
If anyone could provide a testcase that can reproduce this, it would be a huge step toward fixing it! -Yonik On 12/27/05, Chris Lu <[EMAIL PROTECTED]> wrote: > I have got around it by using two indexes, one for searching, one for > updating. > But searching "FileNotFoundException lucene" returns

Re: Indexing and deleting simultaneously..

2005-12-27 Thread Chris Lu
I have got around it by using two indexes, one for searching, one for updating. But searching "FileNotFoundException lucene" returns some previous emails. Problems are more often on windows. http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg11689.html http://mail-archives.apache.org/m

Re: Indexing and deleting simultaneously..

2005-12-27 Thread Yonik Seeley
That shouldn't happen. What platform(s) have you seen this on, and with what Lucene versions? -Yonik On 12/27/05, Chris Lu <[EMAIL PROTECTED]> wrote: > This is generally true, most of the time. > But my experience is, there can be some FileNotFoundException, if your > searcher is opened for a whi

Re: Indexing and deleting simultaneously..

2005-12-27 Thread Dave Kor
On 12/27/05, K.A.Hussain Ali <[EMAIL PROTECTED]> wrote: > HI all. > > I am a newbie to Lucene.. > Could we do indexing and deleting a document on the same file simultaneously ? At any one time, there can only be a single Lucene index writer and any number of index readers. You cannot have two diff

Re: Indexing and deleting simultaneously..

2005-12-27 Thread Chris Lu
This is generally true, most of the time. But my experience is, there can be some FileNotFoundException, if your searcher is opened for a while, and indexing is doing some file deleting/renaming when merging. Of course, if your data volumn is not that large and updating is not often, maybe you won

RE: Indexing and deleting simultaneously..

2005-12-27 Thread Steven Pannell
Hi, Basically you can update/delete and read an index simultaneously. When you start to read the index and then update/delete the index, the current read process will continue reading with the old data before the delete took place. A little bit like a transaction on the database. You don't have