RE: Lucene index files from two different applications.

2004-12-21 Thread Chuck Williams
> Sent: Tuesday, December 21, 2004 3:09 AM > To: Lucene Users List > Subject: Re: Lucene index files from two different applications. > > > On Dec 21, 2004, at 5:51 AM, Gururaja H wrote: > > 1. Can two applications write index files, in the same dir

Re: Lucene index files from two different applications.

2004-12-21 Thread Erik Hatcher
On Dec 21, 2004, at 5:51 AM, Gururaja H wrote: 1. Can two applications write index files, in the same directory, at the same time ? If you mean to the same Lucene index, the answer is no. Only a single IndexWriter instance may be writing to an index at one time. 2. If two applications cannot

Re: Lucene index files from two different applications.

2004-12-21 Thread Sergiu Gordea
Gururaja H wrote: Hi ! Have two applications. Both are supposed to write Lucene index files and the WebApplication is supposed to read these index files. Here are the questions: 1. Can two applications write index files, in the same directory, at the same time ? if you implement the synchronis