lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emad Mushtaq <emad.mush...@sigmatec.com.pk>
Subject Re: How to reindex data without restarting server
Date Sat, 13 Feb 2010 19:05:55 GMT
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_lucene@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/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message