Re: IndexWriter and IndexReader in a shared environment

2016-12-14 Thread Michael McCandless
> 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

RE: IndexWriter and IndexReader in a shared environment

2016-12-14 Thread Siraj Haider
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

Re: IndexWriter and IndexReader in a shared environment

2016-07-07 Thread Michael McCandless
gt; Lucene(I use 5.2.1) document indexing and another one for searching. > > Right now I open every time on each request IndexWriter and IndexReader. > With a big index it works pretty slow. > > I know that there is a possibility to use single IndexWriter and > IndexReader in

IndexWriter and IndexReader in a shared environment

2016-07-05 Thread Desteny Child
to use single IndexWriter and IndexReader in a shared environment. There is SearcherManager or something like this for this purpose. I can't find a good example for this for Lucene 5. Could you please share with me this example ? Thanks in advance, Alex