lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Scoring without floating point calculations
Date Mon, 08 May 2006 23:39:30 GMT
Ah, this is pretty disheartening.  Regardless, I'm about to dive into this, so if you have
any tips or experiences to share, I'm all eyeballs.

Otis

----- Original Message ----
From: Ken Krugler <kkrugler_lists@transpac.com>
To: java-user@lucene.apache.org
Sent: Friday, April 28, 2006 7:34:16 PM
Subject: Re: Scoring without floating point calculations

>Apparently Sun's Niagara servers have a weak FPU, and I don't need 
>my matches to contain floating point scores, so I would like to 
>avoid floating point calculations when scoring, if possible.
>
>Doing a quick `grep -R ' float ' *` in the source tree shows a 
>number of places where floats are used: various *Score and *Scorer 
>classes, various Query classes, Similarity, etc.
>
>What would be the easiest way to plug in my own non-float scoring?

I'd briefly thought about this same issue (for the same reason), but 
didn't see an easy way to plug in a different scoring algorithm.

You can always add the log of the score versus doing a 
multiplication, but that would still involve a lot of source code 
changes.

-- Ken
-- 
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message