Thanks, Erick.

You are right. My question is : When a Solr server is running, but a
core(shard replica) on it is NOT "Active", for example, "Down", will the
query request to it be failed over to the good replica of the same shard?
Thanks!

2015-01-23 10:26 GMT+08:00 Erick Erickson <erickerick...@gmail.com>:

> As long as one replica for each shard is "active", you should be able to
> query the collection.
>
> You an also index to the collection and it'll all "just work", when the
> replicas that are not active become active they'll get the updates and
> catch up to the leader. This process may take quite some time so it is
> probably best, if you have a choice, to turn indexing on after all the
> replicas are up and running. This is not a requirement, however.
>
> Best,
> Erick
>
> On Thu, Jan 22, 2015 at 6:10 PM, 汤林 <tanglin0...@gmail.com> wrote:
>
>> A solr core have several state, besides "Active", there are "Recovering",
>> "Down", "Recovery failed" and "Gone".
>> I know when the state is Recovering, the query or index request can be
>> failover to its leader(the good one), but I'm not sure other state,
>> especially the "Down" state at the solr server just starting period.
>>
>> Could anyone help to confirm? Thanks!
>>
>
>

Reply via email to