Another way to do this is to set up the "live" core to do replication
from the "standby" core. Replication should work this way, between
different cores in the same Solr instance. This is cleaner than
swapping the two cores.

On Thu, Aug 19, 2010 at 7:25 AM, simon <si...@simondo.com> wrote:
> Hi there,
>
> I have solr configured with 2 cores, "live" and "standby".  "Live" is
> used to service search requests from our users.  "Standby" is used to
> rebuild the index from scratch each night.  Currently I have the
> postCommit hook setup to swap the two cores over as soon as the indexing
> on "standby" is complete.
>
> It seems to work well on my development box, but I have not seen this
> approach discussed elsewhere so I was wondering if I was missing
> something here.
>
> Feedback gratefully received!
>
> Simon
>
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to