How to set replication type equal to Async for an index


(pranav amin) #1

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/' -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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a285565a-b9f8-4774-90fa-fbf7b7b8f091%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2