lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vcampa <campan...@interfree.it>
Subject RE: Calling indexWriter.close() in web app
Date Wed, 11 Jul 2007 12:25:43 GMT


Steinert, Fabian wrote:
> 
> Hi,
> you do not need to writer.close() the IndexWriter at all to make changes
> visible.
> When IndexWriter is constructed with autoCommit = true flag set,
> calling writer.flush() will do.
> 

Ok, but what about the write.lock? IndexWriter releases its write.lock only
when closed, so i think problems may begin when i try to open IndexReader on
a locked index. I'm still confused... help.

-- 
View this message in context: http://www.nabble.com/Calling-indexWriter.close%28%29-in-web-app-tf4047813.html#a11538916
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message