Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 42907 invoked from network); 8 May 2006 23:39:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 May 2006 23:39:59 -0000 Received: (qmail 42221 invoked by uid 500); 8 May 2006 23:39:54 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 42177 invoked by uid 500); 8 May 2006 23:39:53 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 42166 invoked by uid 99); 8 May 2006 23:39:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 16:39:53 -0700 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,FORGED_YAHOO_RCVD X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.39.227] (HELO web50314.mail.yahoo.com) (206.190.39.227) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 08 May 2006 16:39:52 -0700 Received: (qmail 61631 invoked by uid 60001); 8 May 2006 23:39:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=AqhJ1o7ZWr2/6EnTwYAqoFvyOohPbBdntSJ6T1WV6TmE4to+NI4+G/j+qBMXwhbS7qWybxPUpD78F0Kyptd2XrSUKAd/8q0sxmSDzbEZx6pUAVNyXnIWBc6UvuwAT/Vpa3eehzhPcjlSHJeAdVww+B2AxSe4sVqp3ngak4zAq7g= ; Message-ID: <20060508233930.61629.qmail@web50314.mail.yahoo.com> Date: Mon, 8 May 2006 16:39:30 -0700 (PDT) From: Otis Gospodnetic Reply-To: Otis Gospodnetic Subject: Re: Scoring without floating point calculations To: java-user@lucene.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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