  | |  | document boost not showing up in Explanation | document boost not showing up in Explanation 2004-12-27 - By Vikas Gupta
Back I am using lucene-1.4.1.jar(with nutch). For some reason, the effect of document boost is not showing up in the search results. Also, why is it not a part of the Explanation
Below is the 'explanation' of a sample query "solar". I don't see the boost value (1.5514448) being used at all in the calculation of the document score - from the 'explanation' below and also from the quality of the search.
How can I see the effect of document boost?
Thanks.
-Vikas
-- ---- ---- -- a sample explanation -- ---- ---- page docNo = 0 segment = 20041224185557 digest = 18cef64c6c53ecf399abfd9239caf240
----> boost = 1.5514448 <----(Vikas: not used in the calculation below)
lang = en url = http://www.cs.utexas.edu/users/vgupta/web1/a31.html anchor = Solar System jigsaw anchor = a31.html anchor = Solar System jigsaw title = Solar System jigsaw H1 = Solar System jigsaw
score for query: solar 0.7634825 = sum of: 0.5878681 = weight(anchor:solar^2.0 in 0), product of: 0.3017718 = queryWeight(anchor:solar^2.0), product of: 2.0 = boost 2.2039728 = idf(docFreq=2) 0.06846087 = queryNorm 1.9480551 = fieldWeight(anchor:solar in 0), product of: 1.4142135 = tf(termFreq(anchor:solar)=2) 2.2039728 = idf(docFreq=2) 0.625 = fieldNorm(field=anchor, doc=0) 0.010230478 = weight(content:solar in 0), product of: 0.09287914 = queryWeight(content:solar), product of: 1.3566749 = idf(docFreq=6) 0.06846087 = queryNorm 0.11014828 = fieldWeight(content:solar in 0), product of: 1.7320508 = tf(termFreq(content:solar)=3) 1.3566749 = idf(docFreq=6) 0.046875 = fieldNorm(field=content, doc=0) 0.16538392 = weight(H1:solar^1.5 in 0), product of: 0.1393187 = queryWeight(H1:solar^1.5), product of: 1.5 = boost 1.3566749 = idf(docFreq=2) 0.06846087 = queryNorm 1.1870905 = fieldWeight(H1:solar in 0), product of: 1.0 = tf(termFreq(H1:solar)=1) 1.3566749 = idf(docFreq=2) 0.875 = fieldNorm(field=H1, doc=0)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: lucene-user-unsubscribe@(protected) For additional commands, e-mail: lucene-user-help@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |