[ 
https://issues.apache.org/jira/browse/LUCENE-8013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16220134#comment-16220134
 ] 

Adrien Grand commented on LUCENE-8013:
--------------------------------------

> So you have to split your custom logic across two places and the apis seem 
> awkward because of that.

Agreed, it always felt awkward to me too.

+1 to get rid of compuleSlopFactor and computePayloadFactor

> Test that SimScorer.computeSlopFactor doesn't increase as the distance goes up
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-8013
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8013
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: master (8.0)
>
>
> We should ensure that computeSlopFactor is always (strictly) positive, equal 
> to 1 when distance is 0, and doesn't increase when the distance goes up.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to