lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Yngve (JIRA)" <>
Subject [jira] Created: (LUCENE-2342) DisjunctionSumScorer explain
Date Tue, 23 Mar 2010 01:29:27 GMT
DisjunctionSumScorer explain

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

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:
For additional commands, e-mail:

View raw message