wenyao created LUCENE-9482:
------------------------------
Summary: There is a problem with the description of "invalid
deletion count" exception.
Key: LUCENE-9482
URL: https://issues.apache.org/jira/browse/LUCENE-9482
Project: Lucene - Core
Issue Type: Improvement
Components: core/index
Affects Versions: 7.7.3
Reporter: wenyao
class: org.apache.lucene.index.SegmentInfos#376
throw new CorruptIndexException("invalid deletion count: " + softDelCount +
delCount + " vs maxDoc=" + info.maxDoc(), input);
It needs to be changed to:
throw new CorruptIndexException("invalid deletion count: " + (softDelCount +
delCount) + " vs maxDoc=" + info.maxDoc(), input); // todo softDelCount +
delCount should merge
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]