# How to set replication type equal to Async for an index

**URL:** <https://discuss.elastic.co/t/how-to-set-replication-type-equal-to-async-for-an-index/18167>\
**Category:** Elasticsearch\
**Created:** [June 17, 2014, 6:52pm UTC](https://discuss.elastic.co/t/how-to-set-replication-type-equal-to-async-for-an-index/18167 "2014-06-17T18:52:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pranav\_amin](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pranav\_amin](https://discuss.elastic.co/u/pranav_amin)\
**Post date:** [June 17, 2014, 6:52pm UTC](https://discuss.elastic.co/t/how-to-set-replication-type-equal-to-async-for-an-index/18167/1 "2014-06-17T18:52:21Z")

</div>

Hi,

We are planning to create Index with 2 replica's and in order to have  
better performance we are thinking of doing the replication Async.

I'm creating the Index this way -

curl -XPUT '[http://localhost:9200/xyz/](http://localhost:9200/xyz/)' -d '{  
"settings" : {  
"number\_of\_shards" : 2,  
"number\_of\_replicas" : 2,  
"replication" : "async"  
}  
}'

Is the above correct? How do i confirm that my replication is Async, is  
there any curl command for confirmation.

Thanks  
Pranav.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a285565a-b9f8-4774-90fa-fbf7b7b8f091%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a285565a-b9f8-4774-90fa-fbf7b7b8f091%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:21am UTC](https://discuss.elastic.co/t/how-to-set-replication-type-equal-to-async-for-an-index/18167/2 "2017-07-06T01:21:44Z")

</div>


