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 91FEA9092 for ; Wed, 30 Nov 2011 21:28:06 +0000 (UTC) Received: (qmail 13209 invoked by uid 500); 30 Nov 2011 21:28:03 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 13135 invoked by uid 500); 30 Nov 2011 21:28:03 -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 13059 invoked by uid 99); 30 Nov 2011 21:28:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 21:28:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Wed, 30 Nov 2011 21:28:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 60C96A9097 for ; Wed, 30 Nov 2011 21:27:40 +0000 (UTC) Date: Wed, 30 Nov 2011 21:27:40 +0000 (UTC) From: "Robert Muir (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <1398862915.27835.1322688460397.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1365485069.27829.1322688460145.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3612) remove _X.fnx 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-3612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-3612: -------------------------------- Attachment: LUCENE-3612.patch Patch: all tests pass. before committing I think we should cleanup some apis/javadocs, remove the various versioning stuff (now unused), and not read/write it in segments files. > remove _X.fnx > ------------- > > Key: LUCENE-3612 > URL: https://issues.apache.org/jira/browse/LUCENE-3612 > Project: Lucene - Java > Issue Type: Task > Affects Versions: 4.0 > Reporter: Robert Muir > Attachments: LUCENE-3612.patch > > > Currently we store a global (not per-segment) field number->name mapping in _X.fnx > However, it doesn't actually save us any performance e.g on IndexWriter's init because > since LUCENE-2984 we are to loading the fieldinfos anyway to compute files() for IFD, etc, > as thats where hasProx/hasVectors is. > Additionally in the past global files like shared doc stores have caused us problems, > (recently we just fixed a bug related to this file in LUCENE-3601). > Finally this is trouble for backwards compatibility as its difficult to handle a global > file with the codecs mechanism. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa 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