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 on
I'm developing a web app with struts that need to embed lucene
functionalities. I need that my app adds documents to the index after that a
document is added (documents are very few, but of large size). I read that i
have to use a single instance of indexwriter to edit the index. Suppose i
use a s