Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 21345 invoked from network); 18 Feb 2006 12:55:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Feb 2006 12:55:05 -0000 Received: (qmail 2165 invoked by uid 500); 18 Feb 2006 12:55:00 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 2128 invoked by uid 500); 18 Feb 2006 12:54:59 -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 2117 invoked by uid 99); 18 Feb 2006 12:54:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2006 04:54:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mike@curtin.com designates 205.158.62.197 as permitted sender) Received: from [205.158.62.197] (HELO ws6-2.us4.outblaze.com) (205.158.62.197) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 18 Feb 2006 04:54:58 -0800 Received: (qmail 12365 invoked from network); 18 Feb 2006 12:54:38 -0000 Received: from unknown (HELO ?10.1.1.2?) (mike@curtin.com@68.73.12.6) by ws6-2.us4.outblaze.com with SMTP; 18 Feb 2006 12:54:38 -0000 Message-ID: <43F7190C.1030901@curtin.com> Date: Sat, 18 Feb 2006 07:54:36 -0500 From: "Michael D. Curtin" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Custom Sorting References: <20060218083907.35025.qmail@web37406.mail.mud.yahoo.com> In-Reply-To: <20060218083907.35025.qmail@web37406.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N SOME ONE wrote: > Yes, I could run two searches, but that means running > two searches for each request from user and that I > think doubles the job taking double time. Any > suggestions to do it more efficiently please ? I think it would only take double time if the sets of hit documents have substantial overlap, i.e. most of the documents meet both sets of criteria. If the sets of documents are mainly disjoint, the time wouldn't matter much (since the same index data structures have to be traversed either way). --MDC --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org