lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jun.C...@cognizant.com>
Subject RE: How to rename fields in an index
Date Thu, 23 Aug 2007 07:13:32 GMT

Got it.
Thank you very much :)

-----Original Message-----
From: Andrzej Bialecki [mailto:ab@getopt.org]
Sent: 2007年8月23日 3:09 下午好,Daniel
To: java-user@lucene.apache.org
Subject: Re: How to rename fields in an index

Jun.Chen@cognizant.com wrote:
> Dear Andrzej Bialecki
>
> 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
for every segment that the index consists of. Also, fnm files are binary
files, so you need to know the format (unless you preserve the length of
the name, e.g. "secret" -> "public", then you can do it with a binary
editor).

--
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.
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message