Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 94030 invoked from network); 12 Nov 2010 07:06:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Nov 2010 07:06:06 -0000 Received: (qmail 22960 invoked by uid 500); 12 Nov 2010 07:06:35 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 22731 invoked by uid 500); 12 Nov 2010 07:06:35 -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 22724 invoked by uid 99); 12 Nov 2010 07:06:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Nov 2010 07:06:34 +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; Fri, 12 Nov 2010 07:06:34 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAC76DTn005049 for ; Fri, 12 Nov 2010 07:06:13 GMT Message-ID: <28182381.43201289545573497.JavaMail.jira@thor> Date: Fri, 12 Nov 2010 02:06:13 -0500 (EST) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Subject: [jira] Assigned: (LUCENE-2741) Several Codecs use the same files - PerFieldCodecWrapper can not hold two codec using the same files In-Reply-To: <7971118.7761288876304465.JavaMail.jira@thor> 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-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Willnauer reassigned LUCENE-2741: --------------------------------------- Assignee: Simon Willnauer > Several Codecs use the same files - PerFieldCodecWrapper can not hold two codec using the same files > ---------------------------------------------------------------------------------------------------- > > Key: LUCENE-2741 > URL: https://issues.apache.org/jira/browse/LUCENE-2741 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Affects Versions: 4.0 > Reporter: Simon Willnauer > Assignee: Simon Willnauer > Fix For: 4.0 > > > Currently we have a rather simple file naming scheme which prevents us from using more than one codec in a segment that relies on the same file. For instance pulsing and standard codec can not be used together since they both need the .frq .tii .tis etc. To make this work we either need to write distinct per codec files or set a per field / codec file ID. While the first solution seems to be quiet verbose the second one seems to be more flexible too. > One possibility to do that would be to assign a unique id to each SegmentsWriteState when opening the FieldsConsumer and write the IDs into the segments file to eventually load it once the segment is opened. Otherwise our PerFieldCodec feature will not be really flexible nor useful though. -- 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