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

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

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 while,

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 some