Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 38360 invoked from network); 24 Aug 2009 16:55:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Aug 2009 16:55:18 -0000 Received: (qmail 19940 invoked by uid 500); 24 Aug 2009 14:05:42 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 19865 invoked by uid 500); 24 Aug 2009 14:05:42 -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 19854 invoked by uid 99); 24 Aug 2009 14:05:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 14:05:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erickerickson@gmail.com designates 209.85.223.200 as permitted sender) Received: from [209.85.223.200] (HELO mail-iw0-f200.google.com) (209.85.223.200) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 14:05:34 +0000 Received: by iwn38 with SMTP id 38so939282iwn.29 for ; Mon, 24 Aug 2009 07:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=y/IeEHaam2EBK5wljqSct3/RlOkDTMxljZ2ThTMpo/o=; b=WCUWT/MOecncZBPJvaeuj44HiBB0lN+giDvVxj1Lu6yiLMz3SR2wQST09U/4VG5XwP Yq7iTp2zSURg71vT+yRr3udgCAd1Tc+fpRSMxB7WhA+xOCfnpO1Y4oFi72J+MKT80HLu 7oDLT60B6knyRXgPGsblWRzKuw9TXB/2DzIHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Yej3Pt115dYJPw3cuzXXOU3TGTqKoQXDyLC7OQdUEna7G1YXa0wkdmP0GnFBeakc32 TV+H12k7SNaUsBI70py3pKJJjlEk/v+SZfQR5EIlJpAZ18LQUc4JOM82ocD4NAcO0gyj 3JKh+cR2ljO1fAv37tstTiu1GDGqO8RsSBYp8= MIME-Version: 1.0 Received: by 10.231.32.134 with SMTP id c6mr2163625ibd.34.1251122713802; Mon, 24 Aug 2009 07:05:13 -0700 (PDT) In-Reply-To: <4d19a3630908220701g5c6441aw42ed18cfdd08b1dd@mail.gmail.com> References: <23293723.post@talk.nabble.com> <25093931.post@talk.nabble.com> <4d19a3630908220701g5c6441aw42ed18cfdd08b1dd@mail.gmail.com> Date: Mon, 24 Aug 2009 10:05:13 -0400 Message-ID: <359a92830908240705l6dd1c7c5i72bc0017bd138695@mail.gmail.com> Subject: Re: How to het the score in percentage From: Erick Erickson To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=002215048e77ed48150471e3b435 X-Virus-Checked: Checked by ClamAV on apache.org --002215048e77ed48150471e3b435 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm not saying that calculating percentages is a bad thing *within a query*.Your absolutely right, users want some clue about how "good" a match various items are. But trying to compare percentages (scores) between *two different queries* then trying to infer that there is some "better fit" based on that data is where problems creep in..... FWIW Erick On Sat, Aug 22, 2009 at 10:01 AM, Shashi Kant wrote: > Chris & Erick's arguments are persuasive , however we do live in an > imperfect world. Most of our users want to see the relative importance > of a results vis-a-vis the rest.... > > Relative Importance (%) = (d - dmin)/(dmax-dmin) * 100 > > Where dmax is the highest Lucene score (score of top result) and dmin > is the least (the score of the last result) and d = current score. > > This would work for any n results. > > While this might be technically 'meh', we took a simple normalization > approach of Lucene scores, it helped the users in gauging the relative > importance and relate better. End of day, isn't that what matters > most? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --002215048e77ed48150471e3b435--