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, Joe Calderon <calderon....@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.

Reply via email to