Re: score = sum of boosts

2009-09-03 Thread Walter Underwood
You could start with a TF formula that ignores frequencies above 1. "onOffTF", I guess, returning 1 if the term is there one or more times. Or, you could tell us what you are trying to achieve. wunder On Sep 3, 2009, at 12:28 AM, Shalin Shekhar Mangar wrote: On Thu, Sep 3, 2009 at 4:09 AM, J

Re: score = sum of boosts

2009-09-03 Thread Shalin Shekhar Mangar
On Thu, Sep 3, 2009 at 4:09 AM, Joe Calderon 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.

score = sum of boosts

2009-09-02 Thread Joe Calderon
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 is this something i could do with a function query or do i need to hack up Di