Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1754

Get rid of NonMatchingScorer from BooleanScorer2

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Over in LUCENE-1614 Mike has made a comment about removing NonMatchinScorer from BS2, and return null in BooleanWeight.scorer(). I've checked and this can be easily done, so I'm going to post a patch shortly. For reference: https://issues.apache.org/jira/browse/LUCENE-1614?focusedCommentId=12715064&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12715064.

      I've marked the issue as 2.9 just because it's small, and kind of related to all the search enhancements done for 2.9.

        Attachments

        1. LUCENE-1754.patch
          25 kB
          Michael McCandless
        2. LUCENE-1754.patch
          26 kB
          Shai Erera
        3. LUCENE-1754.patch
          26 kB
          Shai Erera
        4. LUCENE-1754.patch
          12 kB
          Shai Erera
        5. LUCENE-1754-2.patch
          7 kB
          Shai Erera
        6. LUCENE-1754-2.patch
          7 kB
          Shai Erera

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              shaie Shai Erera
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: