How to set replication type equal to Async for an index


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/' -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.


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
To view this discussion on the web visit
For more options, visit