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

Remove SimScorer.computeSlopFactor and SimScorer.computePayloadFactor

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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.patch
          29 kB
          Alan Woodward
        2. LUCENE-8014-tfidfsim.patch
          14 kB
          Alan Woodward

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: