[ 
https://issues.apache.org/jira/browse/LUCENE-9482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nhat Nguyen resolved LUCENE-9482.
---------------------------------
    Resolution: Fixed

> 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: Bug
>          Components: core/index
>            Reporter: wenyao
>            Priority: Trivial
>             Fix For: master (9.0), 8.7, 8.6.3
>
>          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