RE: multiple threads

2004-10-04 Thread Aviran
You should not have more then one IndexWriter. (You can have multiple IndexReaders, but only one IndexWriter). Aviran -Original Message- From: Justin Swanhart [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 19:14 PM To: [EMAIL PROTECTED] Subject: multiple threads As I

multiple threads

2004-10-01 Thread Justin Swanhart
As I understand it, if two writers try to acess the same index for writing, then one of the writers should block waiting for a lock until the lock timeout period expires, and then they will return a "Lock wait timeout" exception. I have a multithreaded indexing applications that writes into one of