Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 70090 invoked from network); 5 Jan 2004 18:08:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Jan 2004 18:08:04 -0000 Received: (qmail 94456 invoked by uid 500); 5 Jan 2004 18:07:49 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 94436 invoked by uid 500); 5 Jan 2004 18:07:49 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 94386 invoked from network); 5 Jan 2004 18:07:48 -0000 Received: from unknown (HELO hamhock.hoovers.com) (66.179.38.26) by daedalus.apache.org with SMTP; 5 Jan 2004 18:07:48 -0000 Received: from exchange.hoovers.com (gamma.hoovers.com [66.179.38.8]) by hamhock.hoovers.com (HamHock-OUTBOUND) with ESMTP id 7C69120E1F for ; Mon, 5 Jan 2004 12:07:52 -0600 (CST) Received: by gamma.hoovers.com with Internet Mail Service (5.5.2657.72) id ; Mon, 5 Jan 2004 12:07:51 -0600 Message-ID: <4810C017B52BD4118EEA00B0D020B0ED140851FC@gamma.hoovers.com> From: Tim Jones To: "'lucene-dev@jakarta.apache.org'" Subject: making a contribution Date: Mon, 5 Jan 2004 12:07:50 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I've come up with an implementation for doing arbitrary sorting in lucene - it is an implementation of PriorityQueue that can sort by an arbitrary field as well as the computed relevancy. It is quite speedy and should be faster than doing a sort in the appplication after getting the results back from lucene. I thought I'd make this available to the lucene community - what is the best way to do this? Should it go in "Contributions", or "Sandbox"? The meat of it for version 0.1 is four classes which subclass existing lucene classes, and one modification to an existing lucene class to make the constructor public so it can be subclassed. So really what it means is adding additional API by "jar -uf lucene.jar ..." Tim --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org