Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 65727 invoked from network); 13 Oct 2004 18:33:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Oct 2004 18:33:20 -0000 Received: (qmail 54876 invoked by uid 500); 13 Oct 2004 18:33:12 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 54748 invoked by uid 500); 13 Oct 2004 18:33:11 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 54728 invoked by uid 99); 13 Oct 2004 18:33:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [194.109.24.25] (HELO smtp-vbr5.xs4all.nl) (194.109.24.25) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 13 Oct 2004 11:33:09 -0700 Received: from k8l.lan (porta.xs4all.nl [80.127.24.69]) by smtp-vbr5.xs4all.nl (8.12.11/8.12.11) with ESMTP id i9DIX6eU005650 for ; Wed, 13 Oct 2004 20:33:06 +0200 (CEST) (envelope-from paul.elschot@xs4all.nl) From: Paul Elschot To: lucene-user@jakarta.apache.org Subject: Re: sorting and score ordering Date: Wed, 13 Oct 2004 20:33:06 +0200 User-Agent: KMail/1.5.4 References: <416CBEC4.1060709@bayt.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410132033.06273.paul.elschot@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wednesday 13 October 2004 19:53, Chris Fraschetti wrote: > Is there a way I can (without recompiling) ... make the score have > priority and then my sort take affect when two results have the same > rank? > > Along with that, is there a simple way to assign a new scorer to the > searcher? So I can use the same lucene algorithm for my hits, but > tweak it a little to fit my needs? There is no one to one relationship between a seacher and a scorer. When a query consists eg. of two terms, there will be three scorers executing the search for that query: one TermScorer for each term, and one scorer to combine the other two to provide the search results, usually a BooleanScorer or a ConjunctionScorer. For proximity queries, other scorers are used. Regards, Paul Elschot --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org