lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doron Cohen <>
Subject Re: modify existing non-indexed field
Date Tue, 11 Jul 2006 21:36:38 GMT
> 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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message