Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 31223 invoked from network); 23 Aug 2007 07:14:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2007 07:14:09 -0000 Received: (qmail 22369 invoked by uid 500); 23 Aug 2007 07:14:01 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 22318 invoked by uid 500); 23 Aug 2007 07:14:01 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 22306 invoked by uid 99); 23 Aug 2007 07:14:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 00:14:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [203.99.193.26] (HELO ctsintcosxib.cts.com) (203.99.193.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 07:13:57 +0000 Received: from CTSCNSHNSXUA.cts.com ([10.225.68.4]) by ctsinchnsxuk.cts.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 23 Aug 2007 12:43:34 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: RE: How to rename fields in an index MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Date: Thu, 23 Aug 2007 15:13:32 +0800 Message-ID: In-Reply-To: <46CD3290.1070202@getopt.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to rename fields in an index Thread-Index: AcflVJiA5V6VVXmmTI64iJdcsqZaxQAAHjxg From: To: X-OriginalArrivalTime: 23 Aug 2007 07:13:34.0373 (UTC) FILETIME=[1E1FCD50:01C7E555] X-Virus-Checked: Checked by ClamAV on apache.org Got it. Thank you very much :) -----Original Message----- From: Andrzej Bialecki [mailto:ab@getopt.org]=0D Sent: 2007=C4=EA8=D4=C223=C8=D5 3:09 =CF=C2=CE=E7=BA=C3,Daniel To: java-user@lucene.apache.org Subject: Re: How to rename fields in an index Jun.Chen@cognizant.com wrote: > Dear Andrzej Bialecki >=0D > Can we change the field name in *.fnm directly by hand? Yes, but you need to be consistent about it, i.e. change it the same way=0D for every segment that the index consists of. Also, fnm files are binary=0D files, so you need to know the format (unless you preserve the length of=0D the name, e.g. "secret" -> "public", then you can do it with a binary=0D editor). --=0D Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org This e-mail and any files transmitted with it are for the sole use of the= intended recipient(s) and may contain confidential and privileged= information. If you are not the intended recipient, please contact the sender by reply= e-mail and destroy all copies of the original message.=0D Any unauthorized review, use, disclosure, dissemination, forwarding,= printing or copying of this email or any action taken in reliance on this= e-mail is strictly=0D prohibited and may be unlawful. Visit us at http://www.cognizant.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org