On 1/27/06, Chris Lamprecht <[EMAIL PROTECTED]> wrote:
> Actually, I just looked at the code, and it actually does this by
> taking 1/maxScore and then multiplying this by each score (equivalent
> results in the end, maybe more efficient(?)).

Very much so... fdiv commonly takes 20 to 40 clock cycles, depending
on precision.  fmul commonly takes 3 clock cycles.   Same thing holds
with integer multiplication and division.

If one doesn't want normalized scores, they should use the expert
level search routines that return TopDocs or TopFieldDocs.

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to