Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 88131 invoked from network); 22 Aug 2007 08:39:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2007 08:39:37 -0000 Received: (qmail 40645 invoked by uid 500); 22 Aug 2007 08:39:29 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 40092 invoked by uid 500); 22 Aug 2007 08:39:28 -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 40080 invoked by uid 99); 22 Aug 2007 08:39:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 01:39:28 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [82.146.123.134] (HELO villon.taktik.be) (82.146.123.134) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 08:39:25 +0000 Received: from localhost (localhost [127.0.0.1]) by villon.taktik.be (Postfix) with ESMTP id 82F402FA2113; Wed, 22 Aug 2007 10:41:58 +0200 (CEST) Received: from villon.taktik.be ([127.0.0.1]) by localhost (villon.taktik.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26993-07; Wed, 22 Aug 2007 10:41:51 +0200 (CEST) Received: from [192.168.63.11] (unknown [192.168.63.11]) by villon.taktik.be (Postfix) with ESMTP id 0F8E42FA20C5; Wed, 22 Aug 2007 10:41:51 +0200 (CEST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: multipart/alternative; boundary=Apple-Mail-17--988665927 Message-Id: <56583697-493C-47ED-A8BF-846DAE92B30B@taktik.be> Cc: From: Antoine Baudoux Subject: Re: How to rename fields in an index Date: Wed, 22 Aug 2007 10:38:51 +0200 To: X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: by amavisd-new at taktik.be X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-17--988665927 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=GB2312; delsp=yes; format=flowed No, i just want to change the field labels. For example, i have a "Keyword" field that i want to rename into "kw". -- Antoine Baudoux Development Manager ab@taktik.be T=A8=A6l.: +32 2 333 58 44 GSM: +32 499 534 538 Fax.: +32 2 648 16 53 On 22 Aug 2007, at 10:27, =20 wrote: > > Document.removefield() > Then, add() ? > Is this your mean? > > > -----Original Message----- > From: Antoine Baudoux [mailto:ab@taktik.be] > Sent: 2007=C4=EA8=D4=C222=C8=D5 3:55 =CF=C2=CE=E7=BA=C3,Daniel > To: java-user@lucene.apache.org > Subject: How to rename fields in an index > > Is it possible to rename fields in an existing index without having > to re-index all documents? > > thx > > > -- > Antoine Baudoux > Development Manager > ab@taktik.be > T=A8=A6l.: +32 2 333 58 44 > GSM: +32 499 534 538 > Fax.: +32 2 648 16 53 > > > > This e-mail and any files transmitted with it are for the sole use =20 > of the intended recipient(s) and may contain confidential and =20 > privileged information. > If you are not the intended recipient, please contact the sender by =20= > reply e-mail and destroy all copies of the original message. > Any unauthorized review, use, disclosure, dissemination, =20 > forwarding, printing or copying of this email or any action taken =20 > in reliance on this e-mail is strictly > prohibited and may be unlawful. > > Visit us at http://www.cognizant.com > --Apple-Mail-17--988665927--