From java-user-return-13626-apmail-lucene-java-user-archive=lucene.apache.org@lucene.apache.org Wed Mar 09 22:56:13 2005 Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 38501 invoked from network); 9 Mar 2005 22:56:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Mar 2005 22:56:13 -0000 Received: (qmail 4116 invoked by uid 500); 9 Mar 2005 22:55:55 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 3995 invoked by uid 500); 9 Mar 2005 22:55:55 -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 3970 invoked by uid 99); 9 Mar 2005 22:55:55 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from 87.52.220-216.q9.net (HELO mail.futurebrandexp.com) (216.220.52.87) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 09 Mar 2005 14:55:54 -0800 Received: from p001002 ([204.225.84.27]) by mail.futurebrandexp.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 9 Mar 2005 17:59:37 -0500 Message-ID: <01ce01c524fb$2305a190$7703d00a@hypermedia.com> From: "Luke Shannon" To: References: <3B530EF12E388B408ECC3162BA8C00F40107A789@ny2526.corp.bloomberg.com> <3ec1951618227a5a29e4884dbbd7a0ee@ehatchersolutions.com> Subject: Score Question Date: Wed, 9 Mar 2005 17:55:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-OriginalArrivalTime: 09 Mar 2005 22:59:37.0652 (UTC) FILETIME=[AB230F40:01C524FB] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi; Has the scoring changed recently? I just upgraded all the jars is our application (Lucene included). I'm getting scores like this from documents in hits: 6.9699495E-4 The XSL that creates the user interface converts the score to an int and than display it. This currently resulting in a zero for all scores. I'm being told that the XSL has always done this and everything worked fine before I did this upgrade. I made a few changes to the query parsing and searching logic. I'm thinking I have either: 1. Done something to screw up the scores being returned (is this possible?) 2. The XSL did do something with this value before converting it to an int and somehow that code has been misplaced. 3. Scoring has changed in the last version of Lucene and I need multilply the score by some factor to make it more int friendly. Can someone shed some light on this please? Thanks, Luke --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org