zhaih commented on PR #11815: URL: https://github.com/apache/lucene/pull/11815#issuecomment-1258661752
I think the overall process in my mind would be: 1. Identify all deletes and save them 2. Create a document selector which ignores all deletes in the original index 3. Rearrange 4. Apply deletes We can create a separate tool which do the step 1 and 4, or, which I think probably is more elegant, we can pass in another single DocumentSelector, which basically select which documents should be deleted afterwards. And we apply the deletions to the whole index after rearrange? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org