zacharymorn commented on a change in pull request #128: URL: https://github.com/apache/lucene/pull/128#discussion_r639457972
########## File path: lucene/core/src/java/org/apache/lucene/index/CheckIndex.java ########## @@ -700,29 +771,37 @@ public Status checkIndex(List<String> onlySegments) throws IOException { if (reader.hasDeletions()) { if (reader.numDocs() != info.info.maxDoc() - info.getDelCount()) { - throw new RuntimeException( + throw new CheckIndexException( + segmentId, + "", Review comment: I've removed the use of `segmentId` and `partId` as part of https://github.com/apache/lucene/pull/128/commits/57f542f48ee08ec2bd63520c43deb0734455bd28. -- 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. 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