: I don't get really, I try to boost a field according to another one but I've
: a huge weight when I'm using qf boost like :
: 
: /select?qt=dismax&fl=*&q="obama
: meeting"&debugQuery=true&qf=title&bf=product(title,stat_views)

bf is a boost function -- you are using a product fucntion to multiply the 
"title" field by the stat_views" field ... this doesn't make sense to me?

i'm assuming the "title" field contains text (the rest of your score 
explanation confirms this).  when you try to do a math function on a 
string based field it deals with the "ordinal" value -- the higher the 
string is lexigraphically compared to all other docs ,the higher the 
ordinal value.

i have no idea what's in your stat_views field -- but i can't imagine any 
way in which multipling it by the ordinal value of your text field would 
make sense...

:   5803675.5 = (MATCH) FunctionQuery(product(ord(title),sint(stat_views))),
: product of:
:     9.5142968E7 = product(ord(title)=1119329,sint(stat_views)=85)
:     1.0 = boost
:     0.06099952 = queryNorm

: But this is not equilibrate between this boost in qf and bf, how can I do ?

when it comes to function query, you're on your own to figure out an 
appropriate query boost to blanace the scores out -- when you use a 
product function the scores are going to get huge like this unless you 
balance it somehow (and that ord(title) is just making this massively 
worse)


-Hoss

Reply via email to