[
https://issues.apache.org/jira/browse/LUCENE-6982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir resolved LUCENE-6982.
---------------------------------
Resolution: Fixed
Fix Version/s: Trunk
5.5
> throw IAE on illegal bm25 parameter values
> ------------------------------------------
>
> Key: LUCENE-6982
> URL: https://issues.apache.org/jira/browse/LUCENE-6982
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Robert Muir
> Fix For: 5.5, Trunk
>
> Attachments: LUCENE-6982.patch
>
>
> Rather than strange behavior, we should throw an exception if these values
> are wrong.
> This can often detect if the two values got "mixed up", because typical
> values of k1 are > 1 (e.g. 1.2, 2.0), but b is only defined between 0 and 1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]