lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morus Walter <>
Subject Re: Reopen IndexWriter after delete?
Date Wed, 12 Nov 2003 08:25:06 GMT
Otis Gospodnetic writes:
> No, it is not safe.  You should close the IndexWriter, then delete the
> document and close IndexReader, and then get a new IndexWriter and
> continue writing.
IIRC lucene takes care that you do so.
Locking prevents you from having an open IndexWriter and
modify the index with an IndexReader (and vice verse).


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

View raw message