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

ASF subversion and git services commented on LUCENE-6982:
---------------------------------------------------------

Commit 1725353 from [~rcmuir] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1725353 ]

LUCENE-6982: throw IAE on illegal bm25 parameter values

> 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]

Reply via email to