[
https://issues.apache.org/jira/browse/LUCENE-8119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-8119:
---------------------------------
Attachment: LUCENE-8119.patch
Updated patch, I removed the requirement that norm is 0 if the field is empty.
I wasn't aware but this is already taken care of by DefaultIndexingChain which
doesn't call the similarity anyway on empty fields and hard codes 0.
> 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, 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]