lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Love <>
Subject IndexWriter and IndexReader open at the same time
Date Mon, 08 Aug 2005 23:14:39 GMT

I have an application that gets many delete and write resquests at the
same time.  to avoid opening and closing the IndexWriter and
IndexReader everytime one of them need to do a write operation, i keep
them both open and have a shared lock around them whenever i need to
use them for writing.  everything seems to be working in order, but
i'm not sure if this is a safe thing to do.  please let me know.

thank you, 

View raw message