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

Bring back TFIDFSim.lengthNorm

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1, 6.0
    • None
    • None
    • New

    Description

      We removed this before because of LUCENE-2828,
      but the problem there was the delegator (not the lengthNorm method).

      TFIDFSim requires byte[] norms today. So its computeNorm should be final,
      calling lengthNorm() that returns a byte.

      This way there is no possibility for you to do something stupid.

      Attachments

        1. LUCENE-4543.patch
          16 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: