lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: Using postCommit event to swap cores
Date Sat, 21 Aug 2010 01:52:24 GMT
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 <simon@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
goksron@gmail.com

Mime
View raw message