DisjunctionSumScorer explain
----------------------------

                 Key: LUCENE-2342
                 URL: https://issues.apache.org/jira/browse/LUCENE-2342
             Project: Lucene - Java
          Issue Type: Bug
          Components: Search
            Reporter: Gary Yngve
            Priority: Minor


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 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

Reply via email to