lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: fields that change over time
Date Tue, 14 Jun 2005 19:27:24 GMT

On Jun 14, 2005, at 12:46 PM, Peter A. Friend wrote:

> From reading the docs, it appears that Lucene supports addition of  
> new fields over time to an existing index. This is very handy for  
> folks whose indexing requirements change over time. My question has  
> to do with a change in an existing field name that goes from being  
> unstored to stored. Obviously any previously indexed document will  
> not have the stored value, but will Lucene handle a mix of unstored  
> and stored values for a given field name, within the same index?

Yes, it will handle that situation just fine.  Stored fields are per- 
document, so it won't matter that some documents used field "foo" as  
unstored and other documents stored their value in "foo".

     Erik


---------------------------------------------------------------------
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