On 8/29/2014 5:21 AM, Lee Chunki wrote:
> Is there any way to run external indexer for solar cloud?

Jack asked an excellent question.  What do you mean by this?  Unless
you're using the dataimport handler, all indexing is external to Solr.

> my situation is :
>
> * running two indexer ( for fail over ) and two searcher.
> * just use two searcher for service.
> * have plan to move on Solr Cloud
>
> however I wonder that if I run indexing job on one of the solr cloud server, 
> the server’s load would be higher than other nodes.
> so, I want to build index out of sold cloud but….

In SolrCloud, every shard replica will be indexing -- it's not like
old-style replication, where the master indexes everything and the
slaves copy the completed index.  The leader of each shard will be
working slightly harder than the other replicas, but you really don't
need to worry too much about sending all your updates to one server --
those requests get duplicated to the other servers and they all index
them, almost in parallel.

For my setup (non-cloud, but sharded), I use Pacemaker to ensure that
only one of my servers is running my indexing program and haproxy (plus
its shared IP address).

Thanks,
Shawn

Reply via email to