wormday opened a new pull request, #884: URL: https://github.com/apache/lucene/pull/884
# Description org.apache.lucene.index.IndexWriter.DocStats This class has two fields. The field maxDoc should contain numDeletedDocs, and numDocs does not contain numDeletedDocs However, the javadocs are just the opposite. # Solution adjusted javadocs for two fields # Tests The related logic is not modified,No new unit tests were added # Checklist Please review the following and check all that apply: - [√ ] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/lucene/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability. - [√ ] I have given Lucene maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended) - [√ ] I have developed this patch against the `main` branch. - [√ ] I have run `./gradlew check`. - [ ] I have added tests for my changes. -- 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