: After putting the same score for title and content in qf filed, docs 
: with both words in content moved to fifth place. The doc in the first, 
: third and fourth places still have only one of the words in content and 
: title. The doc in the second place has one of the words in title and 
: both words in the content but in different places not together.

details matter -- if you send futher followup mails the full details of 
your dismax options and the score explanations for debugQuery are 
neccessary to be sure people understand what you are describing (a 
snapshot of reality is far more valuable then a vague description of 
reality)

off hand what you are describing sounds correct -- this is what the 
dismax parser is really designed to do.

even if you have given both title and content equal boosts, your title 
field is probably shorter then your content field, so words matching once 
in title are likly to score higher then the same word matching once in 
content due to length normalization -- and unless you set the "tie" param 
to something really high, the score contribution from the highest scoring 
field (in this case title) will be the dominant factor in the score (it's 
disjunction *max* by default ... if you make tie=1 then it's disjunction 
*sum*)

you haven't mentioned anything about hte "pf" param at all which i can 
only assume means you aren't using it -- the pf param is how you configure 
that scores should be increased if/when all of the words in teh query 
string appear together.  I would suggest putting all of the fields in your 
"qf" param in your "pf" param as well.


-Hoss

Reply via email to