lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: renaming fields in index
Date Mon, 07 Mar 2005 18:05:59 GMT
Andrzej Bialecki wrote:
> Doug Cutting wrote:
>> 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?

Right.  One could write something that would re-write all of the .fnm 
files.  It would need to check that you don't try to rename two fields 
to be the same (since that would require re-writing the full segment). 
It would also need to lock segments for write.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message