lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Klaas" <mike.kl...@gmail.com>
Subject Re: Additive scoring using Dismax...
Date Thu, 26 Apr 2007 18:29:24 GMT
On 4/26/07, escher2k <escher2k@yahoo.com> wrote:
>
> I am trying to search across multiple fields using the AND operator. Somehow,
> when the results
> are returned, the score seems to be retrieving the max value and not really
> adding them up. In
> the example given below, the value that is returned (825) is really the max
> instead of what
> I was expecting (1597.5 = 22.5 + 825 + 150 + 600).
>
> Is there any way to get the additive effect ? I thought using AND would do
> it. Thanks a lot.

AND does not controll scoring, only matching.  If you want dismax to
be purely additive, pass tie=1.0 to the handler.

-Mike

Mime
View raw message