Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12235

Incomplete debugQuery info when using edismax and boost param

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 7.3
    • None
    • query parsers, search
    • None
    • Solr 7.3.0, Java 1.8.0_162

    Description

      There is an issue with the way SOLR 7.3 outputs explain information when using edismax and 
      boost param.
       
      Example query: /select?boost=results&debugQuery=on&defType=edismax&q=word&qf=text
       
      Solr 7.3 outputs:
       

      <str name="word"> 
      31349.63 = product of: 1.0 = boost 31349.63 = boost(double(results)) 
      </str>

       
       
      In comparrison, Solr 7.2.1 returns the following:
       

      <str name="word"> 
      31349.63 = boost(text:word,double(results)), product of: 14.400382 = weight(text:word in 18142) [SchemaSimilarity], result of: 14.400382 = score(doc=18142,freq=1.0 = termFreq=1.0 ), product of: 10.677335 = idf, computed as log(1 + (docCount - docFreq + 0.5) / (docFreq + 0.5)) from: 6.0 = docFreq 281851.0 = docCount 1.3486869 = tfNorm, computed as (freq * (k1 + 1)) / (freq + k1 * (1 - b + b * fieldLength / avgFieldLength)) from: 1.0 = termFreq=1.0 1.2 = parameter k1 0.75 = parameter b 2.7172585 = avgFieldLength 1.0 = fieldLength 2177.0 = double(results)=2177.0 
      </str>

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bogdanstoik Bogdan Stoica
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: