[
https://issues.apache.org/jira/browse/LUCENE-7486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler resolved LUCENE-7486.
-----------------------------------
Resolution: Fixed
Fix Version/s: 6.3
master (7.0)
6.x
> DisjunctionMaxScorer Initializes scoreMax to Zero Preventing From Using
> Negative Scores
> ---------------------------------------------------------------------------------------
>
> Key: LUCENE-7486
> URL: https://issues.apache.org/jira/browse/LUCENE-7486
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/search
> Affects Versions: 5.5.2
> Reporter: Ivan Provalov
> Assignee: Uwe Schindler
> Fix For: 6.x, master (7.0), 6.3
>
> Attachments: LUCENE-7486.patch, LUCENE-7486.patch
>
>
> We are using a log of probability for scoring, which gives us negative
> scores.
> DisjunctionMaxScorer initializes scoreMax in the score(...) function to zero
> preventing us from using negative scores. Is there a reason it couldn't be
> initialized to something like this:
> float scoreMax = Float.MAX_VALUE * -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]