> I've tried changing to one indexing thread > (instead of 5) but still get the same problem. can't figure out why this > happens.
The program as listed seems to accesss an existing index - since 'create' is always <false> for both 'FSDirectory.getDirectoy(,)' and 'new IndexWriter(,,)'. Perhaps an old lock file exists for that index, e.g. because a program that was writing to that index was 'killed'. It seems 'cleaner' to create, at the start of the test program, a fresh index with a few docs, and only then start the threads that attempt to add/search that index. Regards, Doron --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]