lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: score = sum of boosts
Date Thu, 03 Sep 2009 07:28:11 GMT
On Thu, Sep 3, 2009 at 4:09 AM, Joe Calderon <calderon.joe@gmail.com> wrote:

> hello *, what would be the best approach to return the sum of boosts
> as the score?
>
> ex:
> a dismax handler boosts matches to field1^100 and field2^50, a query
> matches both fields hence the score for that row would be 150
>
>
Not really. The tf-idf score would be multiplied by 100 for field1 and by 50
for field2. The score can be more than 150 if both fields match.


>
> is this something i could do with a function query or do i need to
> hack up DisjunctionMaxScorer ?
>
>
Can you give a little more background on what you want to achieve this way?

-- 
Regards,
Shalin Shekhar Mangar.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message