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

Ryan Ernst commented on LUCENE-6982:
------------------------------------

+1

> 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
>         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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to