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

ConstantScoreAutoRewrite rewrites prefix queryies that don't match anything before query weight is calculated

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4
    • 4.5, 6.0
    • None
    • None
    • New

    Description

      ConstantScoreAutoRewrite rewrites prefix queryies that don't match anything before query weight is calculated. This dramatically changes the resulting score which is bad when comparing scores across different Lucene indexes/shards/whatever.

      Attachments

        1. LUCENE-5245.patch
          6 kB
          Uwe Schindler
        2. LUCENE-5245.patch
          2 kB
          Uwe Schindler
        3. LUCENE-5245.patch
          0.8 kB
          Nik Everett

        Activity

          People

            uschindler Uwe Schindler
            nik9000@gmail.com Nik Everett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: