lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Yngve (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-2342) DisjunctionSumScorer explain
Date Tue, 23 Mar 2010 01:29:27 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message