On Wed, Oct 12, 2011 at 11:28 PM, Ben Hsu <b...@criticalmention.com> wrote: > Hello Solr users. > > My organization is working on a solr implementation with multiple cores. I > want to prepare us for the day when we'll need to make a change to our > schema.xml, and roll that change into our production environment. > > I believe we'll need to perform the following steps: > # delete all our documents > # update the schema.xml in all our cores > # rebuild the index from the source data. > > Have any of you done this? What has your experience been?
Yes, we have done this several times without issues. Your steps are essentially correct if you are OK with downtime on the server, but you can update the schema first. If you are indexing through DIH, it will clear the index by default on a full-import. If you want to minimise downtime, you can index outside of your production servers, and copy/replicate the new index. Regards, Gora