Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 41683 invoked from network); 24 Nov 2010 18:07:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Nov 2010 18:07:26 -0000 Received: (qmail 39138 invoked by uid 500); 24 Nov 2010 18:07:40 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 38977 invoked by uid 500); 24 Nov 2010 18:07:39 -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 38941 invoked by uid 99); 24 Nov 2010 18:07:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 18:07:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 18:07:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAOI7Fmj002914 for ; Wed, 24 Nov 2010 18:07:16 GMT Message-ID: <11544758.290621290622035965.JavaMail.jira@thor> Date: Wed, 24 Nov 2010 13:07:15 -0500 (EST) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-1737) Always use bulk-copy when merging stored fields and term vectors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1737: --------------------------------------- Fix Version/s: 4.0 > Always use bulk-copy when merging stored fields and term vectors > ---------------------------------------------------------------- > > Key: LUCENE-1737 > URL: https://issues.apache.org/jira/browse/LUCENE-1737 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Reporter: Michael McCandless > Assignee: Michael McCandless > Priority: Minor > Fix For: 4.0 > > > Lucene has nice optimizations in place during merging of stored fields > (LUCENE-1043) and term vectors (LUCENE-1120) whereby the bytes are > bulk copied to the new segmetn. This is much faster than decoding & > rewriting one document at a time. > However the optimization is rather brittle: it relies on the mapping > of field name to number to be the same ("congruent") for the segment > being merged. > Unfortunately, the field mapping will be congruent only if the app > adds the same fields in precisely the same order to each document. > I think we should fix IndexWriter to assign the same field number for > a given field that has been assigned in the past. Ie, when writing a > new segment, we pre-seed the field numbers based on past segments. > All other aspects of FieldInfo would remain fully dynamic. -- 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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org