[ 
https://issues.apache.org/jira/browse/LUCENE-9482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17191310#comment-17191310
 ] 

ASF subversion and git services commented on LUCENE-9482:
---------------------------------------------------------

Commit bbacec07bf8c2c01c2c6a8cc97daefe4672ee0eb in lucene-solr's branch 
refs/heads/branch_8x from LWY
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=bbacec0 ]

LUCENE-9482: Fix deletion count error message



> 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
>            Priority: Minor
>              Labels: ready-to-commit
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to