Re: Lucene commit

2016-08-22 Thread Paul Masurel
Awesome! Thank you very much! On Mon, Aug 22, 2016 at 3:45 PM, Christoph Kaser wrote: > Hello Paul, > > this is already possible using > DirectoryReader.openIfChanged(indexReader,indexWriter). > This will give you an indexreader that already "sees" all changes made by > the writer (up to that

Re: Lucene commit

2016-08-21 Thread Christoph Kaser
Hello Paul, this is already possible using DirectoryReader.openIfChanged(indexReader,indexWriter). This will give you an indexreader that already "sees" all changes made by the writer (up to that point), even though the changes were not yet committed: https://lucene.apache.org/core/6_1_0/core