> 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
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
Hi,
In my Spring Boot application I have implemented 2 API endpoints - one for
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
Overwriting an index in-place while open IndexReaders are actively
searching works fine.
You can either open a new IW with OpenMode.CREATE, or, you can call
IW.deleteAll() if you have an existing IW already open.
Writing to a shared index directory mapped to N machines is not
generally done, beca
I am quite new to Lucene. I am trying to prepare an application where:
1. ~ 100K documents exist.
2. ~ 4 search server will be utilized
3. Documents are not frequently updated and I want to check every minute
a deletion or addition.
4. I am ready to sacrifice some system resource to