Negative boosts?  Try 0.0 to 0.99 for the negative effect.

Otis
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/  -  Tag  -  Search  -  Share

----- Original Message ----
From: Matthew Runo <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Friday, October 12, 2007 5:11:52 PM
Subject: Re: dismax downweighting


would a dismax boost that's negative work?   ie.. name^-1  and   
description^-1 ?

+--------------------------------------------------------+
  | Matthew Runo
  | Zappos Development
  | [EMAIL PROTECTED]
  | 702-943-7833
+--------------------------------------------------------+


On Oct 12, 2007, at 1:13 PM, Brian Whitman wrote:

> i have a dismax query where I want to boost appearance of the query  
> terms in certain fields but "downboost" appearance in others.
>
> The practical use is a field containing a lot of descriptive text  
> and then a product name field where products might be named after a  
> descriptive word. Consider an electric toothbrush called "The Fast  
> And Thorough Toothbrush" -- if a user searches for fast toothbrush  
> I'd like to down-weight that particular model's advantage. The name  
> of the product might also be in the descriptive text.
>
> I tried
>
>      <str name="qf">
>         -name description
>      </str>
>
> but solr didn't like that.
>
> Any better ideas?
>
>
> --
> http://variogr.am/
>
>
>




Reply via email to