# One shard replication

**URL:** <https://discuss.elastic.co/t/one-shard-replication/3284>\
**Category:** Elasticsearch\
**Created:** [August 31, 2010, 4:48pm UTC](https://discuss.elastic.co/t/one-shard-replication/3284 "2010-08-31T16:48:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandonlee](https://avatars.discourse-cdn.com/v4/letter/b/ecd19e/32.png) [@brandonlee](https://discuss.elastic.co/u/brandonlee)\
**Post date:** [August 31, 2010, 4:48pm UTC](https://discuss.elastic.co/t/one-shard-replication/3284/1 "2010-08-31T16:48:09Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Berkay\_Mollamustafao](https://avatars.discourse-cdn.com/v4/letter/b/22d042/32.png) [@Berkay\_Mollamustafao](https://discuss.elastic.co/u/Berkay_Mollamustafao)\
**Post date:** [August 31, 2010, 5:06pm UTC](https://discuss.elastic.co/t/one-shard-replication/3284/2 "2010-08-31T17:06:25Z")

</div>

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](mailto: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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:20am UTC](https://discuss.elastic.co/t/one-shard-replication/3284/3 "2017-07-06T04:20:00Z")

</div>


