Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 26712 invoked from network); 6 Feb 2004 21:43:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Feb 2004 21:43:57 -0000 Received: (qmail 47245 invoked by uid 500); 6 Feb 2004 21:43:40 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 47213 invoked by uid 500); 6 Feb 2004 21:43:40 -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 47195 invoked from network); 6 Feb 2004 21:43:39 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 6 Feb 2004 21:43:39 -0000 Received: (qmail 884 invoked by uid 50); 6 Feb 2004 21:44:01 -0000 Date: 6 Feb 2004 21:44:01 -0000 Message-ID: <20040206214401.883.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: lucene-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 26702] - [PATCH] arbitrary sorting 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 DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26702 [PATCH] arbitrary sorting ------- Additional Comments From cutting@apache.org 2004-02-06 21:44 ------- Maybe the ScoreDoc could be, in this case, augmented to include the field value that sorting is based on. Then the TopDocs from each sub-search could be merged based on that value. Perhaps the cleanest way to do this would be to, in the sorted API, replace ScoreDoc with FieldDoc, that contains just a document and a field value. Then the result would be the TopFieldDocs or somesuch. --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org