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

Adding a SHOULD clause to a BQ over an empty field clears the score when using DefaultSimilarity

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0
    • 6.0
    • None
    • None
    • New, Patch Available

    Description

      Patch with unit test to show the bug will be attached.

      I've narrowed this change in behavior with git bisect to the following commit:

      commit 698b4b56f0f2463b21c9e3bc67b8b47d635b7d1f
      Author: Robert Muir <rmuir@apache.org>
      Date:   Thu Aug 13 17:37:15 2015 +0000
      
          LUCENE-6711: Use CollectionStatistics.docCount() for IDF and average field length computations
          
          git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695744 13f79535-47bb-0310-9956-ffa450edef68
      

      Attachments

        1. LUCENE-6758.patch
          25 kB
          Robert Muir
        2. LUCENE-6758.patch
          6 kB
          Terry Smith

        Issue Links

          Activity

            People

              rcmuir Robert Muir
              shebiki Terry Smith
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: