Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 63144 invoked from network); 28 Apr 2010 03:18:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Apr 2010 03:18:39 -0000 Received: (qmail 76919 invoked by uid 500); 28 Apr 2010 03:18:37 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 76646 invoked by uid 500); 28 Apr 2010 03:18:37 -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 76638 invoked by uid 99); 28 Apr 2010 03:18:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 03:18:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [67.195.8.186] (HELO web110210.mail.gq1.yahoo.com) (67.195.8.186) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 28 Apr 2010 03:18:30 +0000 Received: (qmail 90487 invoked by uid 60001); 28 Apr 2010 03:18:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1272424688; bh=suudKqBZI/YyZHEXiPYM4kvbFg7EgQeCvq9/R++OEFI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=JcGQ3cGdVhnEgk7I2VTEnLOL1Agl3MjN0POvZfxvqzqpCFJ4yJ2SjObd1rzsroVPaXdtkiZFXvsjVlBkRw+mckpDBoA1ihztDe5VL9exyIhaaAoWcP5cwnfD63908NCgsArI0h+rhRtBlUwiuBwoUKpU3xfCbS4eapdaTusjd5s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=pviTsWvK1gd+Gy+sFNLJ8BUnt9qzA0xRqLhGbEKXWpqtTUyQyLjLltm296N8iT0jvpAK2FUvyWIUC73QAcPrxe+plXiDX9Nw5ZVIPIaPd6MrqWSyK3hnZRQFu5Y2arV/d17yly169WFglHW8BQDuVV1o4Q6/7qLJq00yfakGV90=; Message-ID: <863694.88845.qm@web110210.mail.gq1.yahoo.com> X-YMail-OSG: g1wAknEVM1nWumm2e2DQTT3GD0eCTuF_P7yWzeSCtuPH.WY RmgEmwVhrUXP7salldK.sc4ouDfTIkjdqlpL6Jzra89HTGIyG6nH1sgIPuQ4 9EBMXHSpCrNh.mvgsmmaxVeFeNCza1dso8OCqzu7yYetyLYIfvsBEMvVrmE5 Ah0.RzzTim4uK4UbU8ch5OSc1ZlHT8SIuiXQhyIOkVeGZNrtoO_K9uVGcbhM KmhPQDBFJQSENJ_G3RrUl2niKT3juPn7YZ0R.lJSG.oc7.QEaI8klsmigGcl 7R_tbhVsq8hRmrzbGDX0jWL63EVFaOGHwGVE.APyk9PCGYgaSAyL0GngyEYK s7K_oTGMc Received: from [152.118.24.10] by web110210.mail.gq1.yahoo.com via HTTP; Tue, 27 Apr 2010 20:18:08 PDT X-Mailer: YahooMailRC/348.5 YahooMailWebService/0.8.103.269680 References: <195795.51783.qm@web110205.mail.gq1.yahoo.com> <029001cae5fb$492cb860$db862920$@de> <853701.73021.qm@web110209.mail.gq1.yahoo.com> <000901cae630$647db8a0$2d7929e0$@de> Date: Tue, 27 Apr 2010 20:18:08 -0700 (PDT) From: Clara Vania Subject: Re: Range Score in Lucene To: java-user@lucene.apache.org In-Reply-To: <000901cae630$647db8a0$2d7929e0$@de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-469099874-1272424688=:88845" --0-469099874-1272424688=:88845 Content-Type: text/plain; charset=us-ascii Thanks again for your help!! :) Regards, -Clara Vania- ________________________________ From: Uwe Schindler To: java-user@lucene.apache.org Sent: Wed, April 28, 2010 12:38:04 AM Subject: RE: Range Score in Lucene This hast o do with combining multiple terms in a Boolean query. If you have only one term and no boost factors involved, you will get 1. I just repeat, the score numbers are arbitrary scale, only compareable within one query. ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: Clara Vania [mailto:chubz_fun@yahoo.com] > Sent: Tuesday, April 27, 2010 7:32 PM > To: java-user@lucene.apache.org > Subject: Re: Range Score in Lucene > > Really thanks for the quick reply, > > I want to find documents similar to one document (let's call it > document A) in my index. To do this I use the MoreLikeThis class to > help create query from document A. I also included document A in my > index, so I assumed that I will have document A at the first rank. When > I do the searching, I print out the top 10 documents along with their > score. As I assumed before, I have document A in the first rank, but > the score is above 1 (score=1.841656). > > I think lucene score have range [0..1] because it uses cosine > similarity, where score 1 means that two documents are perfectly > similar and 0 means that there are no similarity between two document, > but why I get document score above 1? > > > > Thanks, > > -Clara > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org --0-469099874-1272424688=:88845--