Re: Multiple IndexWriter question

2011-03-04 Thread Ian Lea
If you've got multiple IndexWriters on one index open at the same time then you must be messing with lucene's locking and all bets are off. >From the javadocs for IndexWriter: Opening an IndexWriter creates a lock file for the directory in use. Trying to open another IndexWriter on the same direc

Multiple IndexWriter question

2011-03-04 Thread Brian Coverstone
I am a Lucene newbie, so I apologize beforehand if I am asking anything silly, or that has been covered before. I am currently debugging a project using Lucene. The problem that is happening is searches stop responding when an IndexWriter is writing to the index. In going through the code, I am