lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Whitman <brian.whit...@variogr.am>
Subject Re: Adding a field?
Date Tue, 26 Aug 2008 19:17:22 GMT

On Aug 26, 2008, at 3:09 PM, Jon Drukman wrote:

> Is there a way to add a field to an existing index without stopping  
> the server, deleting the index, and reloading every document from  
> scratch?
>

You can add a field to the schema at any time without adversely  
affecting the rest of the index. You have to restart the server, but  
you don't have to re-index existing documents. Of course, only new  
documents with that field specified will come back in queries.

You can also define dynamic fields like x_* which would let you add  
any field name you want without restarting the server.



Mime
View raw message