Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 10649 invoked from network); 6 Nov 2008 16:55:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2008 16:55:33 -0000 Received: (qmail 45498 invoked by uid 500); 6 Nov 2008 16:55:33 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 45468 invoked by uid 500); 6 Nov 2008 16:55:33 -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 45457 invoked by uid 99); 6 Nov 2008 16:55:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 08:55:33 -0800 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: domain of Kuro@basistech.com designates 65.47.145.42 as permitted sender) Received: from [65.47.145.42] (HELO mail.basistech.com) (65.47.145.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 16:54:17 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: What does Sort.RELEVANCE do? Date: Thu, 6 Nov 2008 11:52:46 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: What does Sort.RELEVANCE do? Thread-Index: AclAMBgAFaYJ5serRUGv3Kx3OIgkeg== From: "Teruhiko Kurosaka" To: X-Virus-Checked: Checked by ClamAV on apache.org I can specify Sort.RELEVANCE to Searcher.search as in: hits =3D searcher.search(q, Sort.RELEVANCE); // Using deprecated method = to make it short What is the real effect of specifying the Sort argument like this? Does Sort.RELEVANCE sorts the hits in order of the score shown in Sect. 3.3 "Understanding Lucene scoring" of Lucene In Action? If I use the search method without a sort argument, is it equivalent of specifying Sort.INDEXORDER? ---- T. "Kuro" Kurosaka, Basis Technology San Francisco, California, U.S.A. =20 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org