You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2018/01/05 13:48:00 UTC
[jira] [Updated] (LUCENE-8119) Remove SimScorer.maxScore(maxFreq)
[ 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
Here is a patch. It documents some additional constraints on similarities, like the fact that norm 0 is reserved to empty fields and that scores must not increase when the unsigned norm increases. The latter is something I need for LUCENE-4198 as well.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org