Document.removefield() Then, add() ? Is this your mean?
-----Original Message----- From: Antoine Baudoux [mailto:[EMAIL PROTECTED] Sent: 2007年8月22日 3:55 下午好,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 [EMAIL PROTECTED] Tél.: +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 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. 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 prohibited and may be unlawful. Visit us at http://www.cognizant.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]