easyice commented on PR #12658: URL: https://github.com/apache/lucene/pull/12658#issuecomment-1772756782
I think we can only use this optimization without deleted docs for merges, because we can't use the cardinality of `liveDocs` as docCount, the `liveDocs` is set to 1 when initialized. We need to iterate through all the doc to know the docCount -- 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