[
https://issues.apache.org/jira/browse/LUCENE-8119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313272#comment-16313272
]
Adrien Grand commented on LUCENE-8119:
--------------------------------------
I overspecified it, but my intention was to make sure that non-empty fields
never get 0 as a norm value, so that 1 is the norm value that produces the best
scores for a given freq. I agree with you there is no reason to enforce that it
is 0 on empty fields.
> Remove SimScorer.maxScore(maxFreq)
> ----------------------------------
>
> Key: LUCENE-8119
> URL: https://issues.apache.org/jira/browse/LUCENE-8119
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-8119.patch
>
>
> Now that SimScorer directly takes a frequency and a norm, this can be
> replaced with {{SimScorer.freq(maxFreq, 1)}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]