Re: Iterating Over All Documents On a Changing Index

2019-10-30 Thread Matt Davis
Thanks for the clarification. I have written my own logic tracking changes and ignoring documents that have been written or deleted since the reindex started. On Mon, Oct 21, 2019, 4:58 PM Adrien Grand wrote: > This is the right place to ask these questions indeed. > > This is a good way to i

Re: Iterating Over All Documents On a Changing Index

2019-10-21 Thread Adrien Grand
This is the right place to ask these questions indeed. This is a good way to iterate over documents. Regarding your 2nd question, Lucene IndexReaders are point-in-time views of the data, so changes won't become visible in-place. The tricky problem with this kind of problem is usually to deal with