> From: Michael McCandless [mailto:luc...@mikemccandless.com]
> Sent: Thursday, July 07, 2016 8:52 AM
> To: Lucene Users ; myshar...@gmail.com
> Subject: Re: IndexWriter and IndexReader in a shared environment
>
> The API is pretty simple.
>
> Create IndexWriter and leave it open forev
m: Michael McCandless [mailto:luc...@mikemccandless.com]
Sent: Thursday, July 07, 2016 8:52 AM
To: Lucene Users ; myshar...@gmail.com
Subject: Re: IndexWriter and IndexReader in a shared environment
The API is pretty simple.
Create IndexWriter and leave it open forever, using it to index/delete
docu
The API is pretty simple.
Create IndexWriter and leave it open forever, using it to index/delete
documents, and periodically calling IW.commit when you need durability.
Create a SearcherManager, passing it the IndexWriter, and use it per-search
to acquire/release the searcher. Periodically (idea