using Solr Specification Version: 4.0.0.2011.08.09.11.02.13

While trying understand scoring I noticed that "boost" is intermittently
displayed in the explain. For example, using edismax and the query string is
"q=Starbucks&qf=name.search name^2" my first result has the boost explicitly
listed in the explain as "2.0=boost". When I change the boost to 20,
however, I no longer see the boost listed. Should "boost" be displayed in
both cases? Any help understanding this behavior would be greatly
appreciated. Thanks!

Boost of 2 ----------------------------------------------------------------

f278968e-b2c6-4bbd-8e69-85ab938fa554: "
8.609146 = (MATCH) max of:
  8.609146 = (MATCH) weight(name:starbucks^2.0 in 163) [DefaultSimilarity],
result of:
    8.609146 = score(doc=163,freq=1.0 = termFreq=1
), product of:
      0.99999994 = queryWeight, product of:
        2.0 = boost
        8.609147 = idf(docFreq=8644, maxDocs=17433139)
        0.05807776 = queryNorm
      8.609147 = fieldWeight in 163, product of:
        1.0 = tf(freq=1.0), with freq of:
          1.0 = termFreq=1
        8.609147 = idf(docFreq=8644, maxDocs=17433139)
        1.0 = fieldNorm(doc=163)
  4.278918 = (MATCH) weight(name.search:starbuck in 163)
[DefaultSimilarity], result of:
    4.278918 = score(doc=163,freq=1.0 = termFreq=1
), product of:
      0.49850774 = queryWeight, product of:
        8.583453 = idf(docFreq=8869, maxDocs=17433139)
        0.05807776 = queryNorm
      8.583453 = fieldWeight in 163, product of:
        1.0 = tf(freq=1.0), with freq of:
          1.0 = termFreq=1
        8.583453 = idf(docFreq=8869, maxDocs=17433139)
        1.0 = fieldNorm(doc=163)
"

Boost of 20 ----------------------------------------------------------------

f278968e-b2c6-4bbd-8e69-85ab938fa554: "
8.609147 = (MATCH) max of:
  8.609147 = (MATCH) weight(name:starbucks^20.0 in 163) [DefaultSimilarity],
result of:
    8.609147 = fieldWeight in 163, product of:
      1.0 = tf(freq=1.0), with freq of:
        1.0 = termFreq=1
      8.609147 = idf(docFreq=8644, maxDocs=17433139)
      1.0 = fieldNorm(doc=163)
  0.42789182 = (MATCH) weight(name.search:starbuck in 163)
[DefaultSimilarity], result of:
    0.42789182 = score(doc=163,freq=1.0 = termFreq=1
), product of:
      0.049850777 = queryWeight, product of:
        8.583453 = idf(docFreq=8869, maxDocs=17433139)
        0.0058077765 = queryNorm
      8.583453 = fieldWeight in 163, product of:
        1.0 = tf(freq=1.0), with freq of:
          1.0 = termFreq=1
        8.583453 = idf(docFreq=8869, maxDocs=17433139)
        1.0 = fieldNorm(doc=163)
"

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Why-is-boost-not-always-listed-in-explain-when-debug-is-on-tp3247505p3247505.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to