Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 92810 invoked from network); 5 Sep 2004 14:41:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Sep 2004 14:41:53 -0000 Received: (qmail 67892 invoked by uid 500); 5 Sep 2004 14:41:46 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 67867 invoked by uid 500); 5 Sep 2004 14:41:46 -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 67852 invoked by uid 99); 5 Sep 2004 14:41:45 -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; Sun, 05 Sep 2004 07:41:45 -0700 Received: from k7l.local (porta.xs4all.nl [80.127.24.69]) by smtp-vbr5.xs4all.nl (8.12.11/8.12.11) with ESMTP id i85EfgqB036004 for ; Sun, 5 Sep 2004 16:41:43 +0200 (CEST) (envelope-from paul.elschot@xs4all.nl) From: Paul Elschot To: lucene-user@jakarta.apache.org Subject: Re: Possible to remove duplicate documents in sort API? Date: Sun, 5 Sep 2004 16:41:42 +0200 User-Agent: KMail/1.5.4 References: <413ACB43.9050703@newsmonster.org> In-Reply-To: <413ACB43.9050703@newsmonster.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409051641.42913.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 Kevin, On Sunday 05 September 2004 10:16, Kevin A. Burton wrote: > I want to sort a result set but perform a group by as well... IE remove > duplicate items. Could you be more precise? > Is this possible with the new API? Seems like a huge drawback to lucene > right now. In case you can define another field that defines what is a duplicate by having the same value for duplicates, you can use it as one of the SortField's for sorting. Regards, Paul Elschot --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org