indices.cloneedit

client.indices.clone([params, [callback]])

Check the API Conventions and the elasticsearch docs for more information pertaining to this method.

Params

timeout

DurationString — Explicit operation timeout

masterTimeout

DurationString — Specify timeout for connection to master

waitForActiveShards

String — Set the number of active shards to wait for on the cloned index before the operation returns.

index

String — The name of the source index to clone

target

String — The name of the target index to clone into

body

Object, JSON — An optional request body, as either JSON or a JSON serializable object. See the elasticsearch docs for details about what can be specified here.

back to top