[ https://issues.apache.org/jira/browse/LUCENE-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835297#action_12835297 ]
Yonik Seeley commented on LUCENE-2270: -------------------------------------- Another thing to note is that this patch does not completely solve all the problems caused by the new Collectors using Sentinels. The bigger question is, what to do in general about -Inf and NaN scores. There are different ways we could handle this: 1) They are not valid, but all other scores are valid. This is actually problematic, since individual queries may be in compliance, but when combined (in say a boolean query), produce a -Inf. So in practice, this would prohibit "large" negative scores. Not great since it's ill-defined and no one knows exactly where the limit is. 2) Consider -Inf (and maybe NaN) as valid scores and change the sorting Collectors to handle them. > queries with zero boosts don't work > ----------------------------------- > > Key: LUCENE-2270 > URL: https://issues.apache.org/jira/browse/LUCENE-2270 > Project: Lucene - Java > Issue Type: Bug > Affects Versions: 2.9 > Reporter: Yonik Seeley > Attachments: LUCENE-2270.patch > > > Queries consisting of only zero boosts result in incorrect results. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org