lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki ...@getopt.org>
Subject Re: renaming fields in index
Date Mon, 07 Mar 2005 17:46:43 GMT
Doug Cutting wrote:
> Ajay Upadhyaya wrote:
> 
>> We have large number of documents which are indexed(approx 1M), the
>> size of the index is approx 1G. . We have few Keyword fields as well
>> as few UnStored fields.
>>
>> Now there is a requirement to change names of few fields. The
>> application code can be easily changed to created the new document
>> with new field names but existing documents have to be migrated to
>> have new field names, so the query on new names can find them. What
>> could be the easiest & fastest way to do this.
> 
> 
> You cannot easily change the field names in the index.

..through the existing API, that is. Because you can change the content 
of the *.fnm file appropriately, right?

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


Mime
View raw message