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

Robert Muir commented on LUCENE-3215:
-------------------------------------

the problem in this case, is it computes a 'matchLength' of -1.
then the default impl of sloppyFreq divides by zero, because its defined as:
{noformat}
return 1.0f / (distance + 1);
{noformat}


> SloppyPhraseScorer sometimes computes Infinite freq
> ---------------------------------------------------
>
>                 Key: LUCENE-3215
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3215
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-3215_test.patch
>
>
> reported on user list:
> http://www.lucidimagination.com/search/document/400cbc528ed63db9/score_of_infinity_on_dismax_query

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to