Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 14828 invoked from network); 2 Sep 2008 17:50:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Sep 2008 17:50:46 -0000 Received: (qmail 72096 invoked by uid 500); 2 Sep 2008 17:50:37 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 72068 invoked by uid 500); 2 Sep 2008 17:50: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 72056 invoked by uid 99); 2 Sep 2008 17:50:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 10:50:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.69.42.181] (HELO radix.cryptio.net) (208.69.42.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 17:49:39 +0000 Received: by radix.cryptio.net (Postfix, from userid 1007) id 7297971C657; Tue, 2 Sep 2008 10:50:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by radix.cryptio.net (Postfix) with ESMTP id 6D03771C639 for ; Tue, 2 Sep 2008 10:50:10 -0700 (PDT) Date: Tue, 2 Sep 2008 10:50:10 -0700 (PDT) From: Chris Hostetter To: Lucene Users Subject: Re: Question: Lucene MoreLikeThis score values all the same: In-Reply-To: <8d2a9c130808251321y23880d47v19a1504dffaea9a2@mail.gmail.com> Message-ID: References: <8d2a9c130808251321y23880d47v19a1504dffaea9a2@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : 1. Looking at the hits, they have the same score. I'd expect them to be : different, based on their relevance to the source document. Any ideas? ... : This is my output. I can paste my source code in too if needed. The output of arbitrary "secret" code isn't really a very useful for the purposes of debugging ... since we have no idea what your code does, we can't really begin to guess why it produces the output that it does. Off the cuff, based on your choice of wording and the fact, i suspect you are using the "Hits" class which attempts to normalize scores -- which could explain a big part of your confusion. In general: when you want to understand why a Document scores they way it does against a query: use explain(). -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org