Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9416

Fix CheckIndex to print norms as unsigned integers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 9.0, 8.7
    • core/index
    • None
    • New

    Description

      In the discussion on "CheckIndex complaining about -1 for norms value" in the java-user list, 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?

      Attachments

        1. LUCENE-9416.patch
          1 kB
          Mohammad Sadiq

        Activity

          People

            Unassigned Unassigned
            mosadiq Mohammad Sadiq
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: