How do I SWAP the old_core with the new_core. Is it to be done manually or does solr provide with a command for doing so. What if I don't make a new core, make changes to the existing core, reindex it and then utilize the RELOAD command. Would this be a bad approach ?
On Sat, Feb 13, 2010 at 10:10 AM, Chris Hostetter <hossman_luc...@fucit.org>wrote: > > : if you use the core model via solr.xml you can reload a core without > having to > : to restart the servlet container, > : http://wiki.apache.org/solr/CoreAdmin > > For making a schema change, the steps would be: > - create a "new_core" with the new schema > - reindex all the docs into "new_core" > - "SWAP" "old_core" and "new_core" so all the old URLs now point at the > new core with the new schema. > > -Hoss > > -- Muhammad Emad Mushtaq http://www.emadmushtaq.com/