Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 19119 invoked from network); 2 Nov 2007 19:50:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 19:50:32 -0000 Received: (qmail 85501 invoked by uid 500); 2 Nov 2007 19:50:11 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 85463 invoked by uid 500); 2 Nov 2007 19:50:11 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 85452 invoked by uid 99); 2 Nov 2007 19:50:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 12:50:11 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 19:50:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B6E91714204 for ; Fri, 2 Nov 2007 12:49:50 -0700 (PDT) Message-ID: <5064946.1194032990744.JavaMail.jira@brutus> Date: Fri, 2 Nov 2007 12:49:50 -0700 (PDT) From: "robert engels (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1043) Speedup merging of stored fields when field mapping "matches" In-Reply-To: <23676510.1194028250816.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539686 ] robert engels commented on LUCENE-1043: --------------------------------------- You have to be careful with the bulk copy because you will need to also copy the offsets from the source, sticking them up, and then write them in bulk. With large enough input and output buffers I am not sure the bulk copy will make that large a difference. > Speedup merging of stored fields when field mapping "matches" > ------------------------------------------------------------- > > Key: LUCENE-1043 > URL: https://issues.apache.org/jira/browse/LUCENE-1043 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Affects Versions: 2.2 > Reporter: Michael McCandless > Assignee: Michael McCandless > Priority: Minor > Fix For: 2.3 > > Attachments: LUCENE-1043.patch > > > Robert Engels suggested the following idea, here: > http://www.gossamer-threads.com/lists/lucene/java-dev/54217 > When merging in the stored fields from a segment, if the field name -> > number mapping is identical then we can simply bulk copy the entire > entry for the document rather than re-interpreting and then re-writing > the actual stored fields. > I've pulled the code from the above thread and got it working on the > current trunk. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org