Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 62748 invoked from network); 16 Feb 2007 13:20:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2007 13:20:04 -0000 Received: (qmail 4883 invoked by uid 500); 16 Feb 2007 13:20:10 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 4860 invoked by uid 500); 16 Feb 2007 13:20:10 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 4851 invoked by uid 99); 16 Feb 2007 13:20:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Feb 2007 05:20:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Feb 2007 05:20:00 -0800 Received: (qmail invoked by alias); 16 Feb 2007 13:19:39 -0000 X-Provags-ID: V01U2FsdGVkX18q9w5zhsIqG44EWvG7KWXSHM/xMP+/nVIiTPTWpG uXtQ== Message-ID: <45D5AF50.4020001@gmx.net> Date: Fri, 16 Feb 2007 14:19:12 +0100 From: Marcel Reutegger User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: question about score References: <1171617007.10018.3.camel@antares> In-Reply-To: <1171617007.10018.3.camel@antares> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Paco Avila wrote: > I think that the score system is buggy or I don't know how it works... > When I make this search: > > //element(*, okm:document)[@okm:author='pavila'] > > Not all returned results have the score = 1000. Why?? The 'size' of the node is also taken into consideration when the score is calculated. The more content (properties) you have on a node the less relevant is a match for that node. For details see: http://lucene.apache.org/java/docs/scoring.html regards marcel