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

score and explain don't match

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.4, 3.0.3, 3.1, 4.0-ALPHA
    • 3.1, 4.0-ALPHA
    • None
    • None
    • New

    Description

      I've faced this problem recently. I'll attach a program to reproduce the problem soon. The program outputs the following:

      ** score = 0.10003257
      ** explain
      0.050016284 = (MATCH) product of:
        0.15004885 = (MATCH) sum of:
          0.15004885 = weight(f1:"note book" in 0), product of:
            0.3911943 = queryWeight(f1:"note book"), product of:
              0.61370564 = idf(f1: note=1 book=1)
              0.6374299 = queryNorm
            0.38356602 = fieldWeight(f1:"note book" in 0), product of:
              1.0 = tf(phraseFreq=1.0)
              0.61370564 = idf(f1: note=1 book=1)
              0.625 = fieldNorm(field=f1, doc=0)
        0.33333334 = coord(1/3)
      

      Attachments

        1. LUCENE-2936.patch
          6 kB
          Chris M. Hostetter
        2. LUCENE-2936.patch
          1 kB
          Robert Muir
        3. LUCENE-2936.patch
          0.5 kB
          Robert Muir
        4. LUCENE-2936.test.patch
          4 kB
          Chris M. Hostetter
        5. TestScore.java
          2 kB
          Koji Sekiguchi

        Activity

          People

            hossman Chris M. Hostetter
            koji Koji Sekiguchi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: