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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

        Issue Links

          Activity

            People

            • Assignee:
              rcmuir Robert Muir
              Reporter:
              shebiki Terry Smith

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment