[
https://issues.apache.org/jira/browse/LUCENE-9416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165583#comment-17165583
]
Mohammad Sadiq commented on LUCENE-9416:
----------------------------------------
Justification of lack of tests with this patch: This is a change in the output
message being printed. No change in the behaviour. [See the
note|https://issues.apache.org/jira/browse/LUCENE-9416?focusedCommentId=17164487&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17164487]
my Mike McCandless that testing this might not be worth the complexity.
> 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]