You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "wenyao (Jira)" <ji...@apache.org> on 2020/08/26 03:34:00 UTC

[jira] [Created] (LUCENE-9482) There is a problem with the description of "invalid deletion count" exception.

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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org