easyice commented on issue #14020: URL: https://github.com/apache/lucene/issues/14020#issuecomment-2535865992
> I'm interested in contributing a fix for this test. Any additional pointers or guidance? Thanks for looking into this, In my opinion this issue can be fixed by calculating the numDeletedDocs from wrapped leaf reader, similar to https://github.com/apache/lucene/commit/5981895cb48416f1133702a35bf9811f963f3ed9: ```java int expectedNumDeletes = 0; for (int i = 0; i < wrapped.leaves().size(); i++) { expectedNumDeletes += wrapped.leaves().get(i).reader().numDeletedDocs(); } assertEquals(expectedNumDeletes, wrapped.numDeletedDocs()); ``` -- 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