Indexing and Reading in the Index at the same time...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, August 11, 2004 04:16 PM

Hi again...


I'm trying to indexing new documents in the index, some of them could exist already in the index, I'm doing a validation that reads and depuring (IndexReader) the index (in the same cicle of IndexWriter), I suppose that the write process of IndexWriter lock the index folder for write and do not permit to the IndexReading class to read in this folder. My question is, there is any way to write and read at the same time in the index???


thank you

Re: Indexing and Reading in the Index at the same time...

Posted By:   Otis_Gospodnetic  
Posted On:   Thursday, August 12, 2004 04:17 AM

Reading and writing to the index at the same time is allowed.
You can open as many readers as you want, but you have to use a single writer at a time.
About | Sitemap | Contact