[
https://issues.apache.org/jira/browse/LUCENE-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080113#comment-16080113
]
Jan Høydahl commented on LUCENE-2342:
-------------------------------------
I cannot find the code referenced. If this is still a bug, please locate the
offending code in current master branch, or else close this as "Cannot
reproduce"
> DisjunctionSumScorer explain
> ----------------------------
>
> Key: LUCENE-2342
> URL: https://issues.apache.org/jira/browse/LUCENE-2342
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/search
> Reporter: Gary Yngve
> Priority: Minor
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> The bottom of the explain method in DisjunctionSumScorer says
> if (nrMatchers >= minimumNrMatchers) {
> This is incorrect.. it should say
> if (nrMatches >= minimumNrMatchers) {
> nrMatchers is the instance variable used for advancing, whereas nrMatches is
> explain's local variable.
> Minor, because I don't think DSS's explain is ever called by anything
> (BooleanWeight has its own explain)?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]