You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Oliver Beattie <ol...@obeattie.com> on 2009/11/30 14:41:23 UTC

Question regarding scoring/boosting

Hey everyone,

I'm what one would probably call a beginner with Solr. I have my data loaded
in and I am getting the hang of querying things. However, I'm still rather
unclear as to how the score can be affected by various parameters. I'm using
the dismax request handler, and I just don't quite get how doing foo^value
in the bf affects the score. Perhaps if someone could explain this at a
basic level or point me in the direction of some documentation as to how
this affects the final score this would be very helpful.

Thanks,
Oliver

Re: Question regarding scoring/boosting

Posted by Chris Hostetter <ho...@fucit.org>.

Unfortunately understanding how Lucene/Scoring works isn't much of a 
beginer level topic -- the short answer to your question is that adding a 
function to the "bf" param of dismax causees that function to be evaluated 
for every doc that matches your main query and the scores are "boosted" in 
proportion to the values produced by those funcitons.

If you really want to see the nitty gritty details, use "debugQuery=true" 
and a breakdown of the full score "explanation" will be produced, but 
this will refrence quite a bit of concepts that are by no means beginer 
level -- following the math is easy, understanding where the numbers come 
from is not.


: I'm what one would probably call a beginner with Solr. I have my data loaded
: in and I am getting the hang of querying things. However, I'm still rather
: unclear as to how the score can be affected by various parameters. I'm using
: the dismax request handler, and I just don't quite get how doing foo^value
: in the bf affects the score. Perhaps if someone could explain this at a
: basic level or point me in the direction of some documentation as to how
: this affects the final score this would be very helpful.
: 
: Thanks,
: Oliver
: 



-Hoss