I think the key was change the tie to 0.  I had it at 0.1.  Getting
exactly what I want now.

Big thanks for the help. 

-----Original Message-----
From: Jason Chaffee [mailto:jchaf...@ebates.com] 
Sent: Monday, March 29, 2010 5:20 PM
To: solr-user@lucene.apache.org
Subject: RE: negative boost

I understand that it defeats the reason for dismax, at least the
original reason for dismax.  However,  if I can do it this way without
having to write my own handler because I need to search multiple fields
and combine the results, then it is still preferable and thus another
way to leverage dismax.

Thanks for the tip.  I will try it.

Jason

-----Original Message-----
From: Chris Hostetter [mailto:hossman_luc...@fucit.org] 
Sent: Monday, March 29, 2010 5:06 PM
To: solr-user@lucene.apache.org
Subject: RE: negative boost


: Unfortunately, my results aren't quite what I want unless I use 0 on
the 
: second field.  Instead, if something matches in all the fields it is 
: elevated to the top.  I only want the first field match elevated to
the 
: top and I want all first field matches to have the same weight.  Next,
I 
: want all field2 matches to have the same weight, and finally, I want
all 
: field3 matches to have the same weight.  But I want field1 matches to
be 
: at the top, then field 2, and finally field3.  I don't care if the
term 
: is all three fields or not.

try qf=field1^10000+field2^100+field3^1&tie=0

: Does this make sense?

it does, but it kind of defeats the point of dismax.  what i cited
should 
help -- the key is to make the boosts vastly differnet scales, 
and eliminate the tiebreaker value.




-Hoss

Reply via email to