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

Remove SimScorer.computeSlopFactor and SimScorer.computePayloadFactor

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.2, 8.0
    • None
    • None
    • New

    Description

      This supersedes LUCENE-8013.

      We should hardcode computeSlopFactor to 1/(N+1) in SloppyPhraseScorer and move computePayloadFactor to PayloadFunction so that all the payload scoring logic is in a single place.

      Attachments

        1. LUCENE-8014-tfidfsim.patch
          14 kB
          Alan Woodward
        2. LUCENE-8014.patch
          29 kB
          Alan Woodward

        Issue Links

          Activity

            People

              romseygeek Alan Woodward
              jpountz Adrien Grand
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: