You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/06 15:12:00 UTC
[jira] [Commented] (LUCENE-9482) There is a problem with the
description of "invalid deletion count" exception.
[ https://issues.apache.org/jira/browse/LUCENE-9482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17191297#comment-17191297 ]
ASF subversion and git services commented on LUCENE-9482:
---------------------------------------------------------
Commit 1606a7618712a4c5f9f7e92ce44e489e9d07993e in lucene-solr's branch refs/heads/master from LWY
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=1606a76 ]
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org