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

UniformSplit FieldMetadata counters should all be long

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Currently UniformSplit FieldMetadata stores sumDocFreq, numTerms, sumTotalTermFreq as int which is incorrect.

      The fix is to make them long. The postings format will be compatible since those counters are currently written as VInt and they will be read as VLong (and then written as VLong afterwards).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                broustant Bruno Roustant
                Reporter:
                broustant Bruno Roustant
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m