indices.shrink

edit
client.indices.shrink([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 shrunken index before the operation returns.

index

String — The name of the source index to shrink

target

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