s1monw commented on issue #12572: URL: https://github.com/apache/lucene/issues/12572#issuecomment-1729849466
I think this makes sense to me to also flush deletes if necessary. I think this is as simple as calling `applyAllDeletes()` in `flushOneDWPT()` but we need to process events in IW as well so I think it's necessary to call `processEvents(boolean)` in IW if we applied deletes selectively.... pretty straight forward IMO. +1 -- 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