indices.splitedit

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

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

Params

copySettings

Boolean — whether or not to copy settings from the source index (defaults to false)

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 shrunken index before the operation returns.

index

String — The name of the source index to split

target

String — The name of the target index to split 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