Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 7574 invoked from network); 27 Apr 2010 17:38:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 17:38:33 -0000 Received: (qmail 90953 invoked by uid 500); 27 Apr 2010 17:38:30 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 90909 invoked by uid 500); 27 Apr 2010 17:38:30 -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 90901 invoked by uid 99); 27 Apr 2010 17:38:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 17:38:30 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=10.0 tests=AWL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [85.25.71.29] (HELO mail.troja.net) (85.25.71.29) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 17:38:24 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id 579A3D36004 for ; Tue, 27 Apr 2010 19:38:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.troja.net Received: from mail.troja.net ([127.0.0.1]) by localhost (megaira.troja.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id poSFtofT60o1 for ; Tue, 27 Apr 2010 19:37:52 +0200 (CEST) Received: from VEGA (port-83-236-62-54.dynamic.qsc.de [83.236.62.54]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.troja.net (Postfix) with ESMTPSA id 9E2C3D36003 for ; Tue, 27 Apr 2010 19:37:51 +0200 (CEST) From: "Uwe Schindler" To: References: <195795.51783.qm@web110205.mail.gq1.yahoo.com> <029001cae5fb$492cb860$db862920$@de> <853701.73021.qm@web110209.mail.gq1.yahoo.com> In-Reply-To: <853701.73021.qm@web110209.mail.gq1.yahoo.com> Subject: RE: Range Score in Lucene Date: Tue, 27 Apr 2010 19:38:04 +0200 Message-ID: <000901cae630$647db8a0$2d7929e0$@de> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcrmL7GK8iRT/ni0QqGf8dNcEDRq8AAAI4og Content-language: de 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 >=20 > Really thanks for the quick reply, >=20 > 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=3D1.841656). >=20 > 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? >=20 >=20 >=20 > Thanks, >=20 > -Clara >=20 >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org