[
https://issues.apache.org/jira/browse/LUCENE-9416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167240#comment-17167240
]
ASF subversion and git services commented on LUCENE-9416:
---------------------------------------------------------
Commit 327d860a00cb2a64887f4b4c322cba5e6daec8e8 in lucene-solr's branch
refs/heads/master from Michael McCandless
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=327d860 ]
LUCENE-9416: fix CheckIndex to print an invalid non-zero norm as unsigned long
when detecting corruption
> Fix CheckIndex to print norms as unsigned integers
> --------------------------------------------------
>
> Key: LUCENE-9416
> URL: https://issues.apache.org/jira/browse/LUCENE-9416
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/index
> Reporter: Mohammad Sadiq
> Priority: Minor
> Attachments: LUCENE-9416.patch
>
>
> In the [discussion on "CheckIndex complaining about -1 for norms value" in
> the java-user list|http://markmail.org/message/gcwdhasblsyovwc2], it was
> identified that we should "fix CheckIndex to print norms as unsigned
> integers".
> I'd like to take a stab at this.
> I'm trying to understand the problem and from what I gather, while norms are
> `byte`s, the API exposes them as `long` values. While printing the error
> message, we want it to print a zero instead of -1?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]