[ https://issues.apache.org/jira/browse/LUCENE-8014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247228#comment-16247228 ]
Alan Woodward commented on LUCENE-8014: --------------------------------------- Ran tests on the wrong branch so I missed a few places where sloppyFreq() is still being used in tests. We need to deprecate TFIDFSimilarity.sloppyFreq() as well, and remove the tests that change score by overriding it. > Remove SimScorer.computeSlopFactor and SimScorer.computePayloadFactor > --------------------------------------------------------------------- > > Key: LUCENE-8014 > URL: https://issues.apache.org/jira/browse/LUCENE-8014 > Project: Lucene - Core > Issue Type: Task > Reporter: Adrien Grand > Assignee: Alan Woodward > Priority: Minor > Fix For: master (8.0), 7.2 > > Attachments: LUCENE-8014.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org