--- On Wed, 7/11/12, Vinicius Carvalho <viniciusccarva...@gmail.com> wrote:

> From: Vinicius Carvalho <viniciusccarva...@gmail.com>
> Subject: Re: Boosting tips
> To: solr-user@lucene.apache.org
> Date: Wednesday, July 11, 2012, 4:24 PM
> Thank Ahmet, I did that, it kinda
> worked (not as well as expected) the
> document with ringtone was the 1st match, it was moved to
> the 2nd position,
> I was expecting it to be at very bottom. Tried other factors
> for boosting
> up to 10E6 but no success.
> 
> Another issue, is that I have some bad words I really would
> like to
> penalize like: ringtone, instrumental, cover, tribute, and
> they appear on
> multiple fields. I was wondering if there's a better way of
> doing this
> instead of creating a big bq string like:
> 
> (*:* -song:ringtone)^100 (*:* -album:ringtone)^100 ... and
> so on.

Didn't tried by myself but you can use dismax as bq parameter also.

&bq=(+*:* -_query_:"{!dismax qf=song album}ringtone cover")^100

wiki.apache.org/solr/LocalParams
http://www.lucidimagination.com/blog/2009/03/31/nested-queries-in-solr/

Reply via email to