One shard replication


(brandonlee) #1

I have a small index (around 200K documents) which I want my
application to query as a whole locally (no shards). The data is re-
index daily by a single machine. How do I set it up to replicate to 3
or more servers so that each server gets the complete index?

Thanks!


(Berkay Mollamustafaoglu-2) #2

Assuming you have 4 servers, if you set the numberOfShards to 1 and
numberOfReplicas to 3, you'd have 1 shard at every server. You don't have to
do anything other than that. If you have more servers, just increase the
number of replicas.

Regards,
Berkay Mollamustafaoglu
mberkay on yahoo, google and skype

On Tue, Aug 31, 2010 at 12:48 PM, brandonlee mluggy@gmail.com wrote:

I have a small index (around 200K documents) which I want my
application to query as a whole locally (no shards). The data is re-
index daily by a single machine. How do I set it up to replicate to 3
or more servers so that each server gets the complete index?

Thanks!


(system) #3