Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2EC66019 for ; Tue, 28 Jun 2011 06:38:54 +0000 (UTC) Received: (qmail 81684 invoked by uid 500); 28 Jun 2011 06:38:53 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 81097 invoked by uid 500); 28 Jun 2011 06:38:45 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 81067 invoked by uid 99); 28 Jun 2011 06:38:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 06:38:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 06:38:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 314DC435066 for ; Tue, 28 Jun 2011 06:38:17 +0000 (UTC) Date: Tue, 28 Jun 2011 06:38:17 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Message-ID: <196749195.887.1309243097198.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <386264606.11782.1307735338731.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3191) Add TopDocs.merge to merge multiple TopDocs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056339#comment-13056339 ] Uwe Schindler commented on LUCENE-3191: --------------------------------------- I haven't tracked this issue to understand whats going on here, but you cannot pass BytesRefs to collator.compare. If this code is ever reached (and looking at the test i wrote for this damn thing, its unclear if this code is even necessary?!) The code is necessary once you cross segments during compare. Maybe the index in the tests is so small that it never has multiple segments. > Add TopDocs.merge to merge multiple TopDocs > ------------------------------------------- > > Key: LUCENE-3191 > URL: https://issues.apache.org/jira/browse/LUCENE-3191 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 3.3, 4.0 > > Attachments: LUCENE-3191-3x.patch, LUCENE-3191-SlowCollatorCompareFix.patch, LUCENE-3191.patch, LUCENE-3191.patch, LUCENE-3191.patch, LUCENE-3191.patch, LUCENE-3191.patch > > > It's not easy today to merge TopDocs, eg produced by multiple shards, > supporting arbitrary Sort. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org