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

Iterating Over All Documents On a Changing Index

2019-10-18 Thread Matt Davis
Hi All, I am working on implementing of an in place reindex using Lucene. In my case, I have BSON document stored in a binary field and have a set of rules that pull fields out of the BSON and indexes them into different Lucene fields with different analyzers. I would like to be able to change t