You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jonathan Haddad <jo...@letsgetnuts.com> on 2009/02/17 23:07:59 UTC

making changes to solr schema

Preface: This is my first attempt at using solr.

What happens if I need to do a change to a solr schema that's already
in production?  Can fields be added or removed?

Can a type change from an integer to a float?

Thanks in advance,
Jon

-- 
Jonathan Haddad
http://www.rustyrazorblade.com

Re: making changes to solr schema

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@gmail.com>.
On Wed, Feb 18, 2009 at 3:37 AM, Jonathan Haddad <jo...@letsgetnuts.com> wrote:
> Preface: This is my first attempt at using solr.
>
> What happens if I need to do a change to a solr schema that's already
> in production?  Can fields be added or removed?
you may need a core reload or a serverrestart
fields can be added and the subsequent document additions take advantage of it.
fields can be removed if you are no longer going to use them in queries
>
> Can a type change from an integer to a float?
In general type changes may need re-indexing of data
>
> Thanks in advance,
> Jon
>
> --
> Jonathan Haddad
> http://www.rustyrazorblade.com
>



-- 
--Noble Paul