There really isn't any good way to do this built in that I know of.

If your "clusters" are separate Solr collections (SolrCloud), you
can use collection aliasing to point queries at one or the other
atomically.

This presumes you have some control over when DIH runs
however. The idea is that you have an alias that you use for
searching. You switch this alias to the "cold" cluster (the one
that's not changing) and trigger a DIH run to to the "hot" cluster.
Once that's done, change the alias to point to it or, perhaps,
both.

Best,
Erick

On Wed, May 18, 2016 at 11:27 PM, preeti kumari <preeti.bg...@gmail.com> wrote:
> Hi,
>
> I am using solr 5.2.1. I have two clusters Primary A and Primary B.
> I was pinging servers to check whether they are up or not to route the
> searches to working cluster A or B.
>
> But while I am running Full data import in Primary cluster A , There is not
> all the data and pinging servers will not help as my solr servers would be
> responding.
>
> But I want my searches to go to Cluster B instead of A.
>
> Please help me with a way from solr which can say solr not ready to support
> searches as full data import is running there.
>
> Thanks
> Preeti

Reply via email to