(cherry picked from commit f737290d10)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
12 lines
295 B
Plaintext
12 lines
295 B
Plaintext
// This file is autogenerated, DO NOT EDIT
|
|
// Use `node scripts/generate-docs-examples.js` to generate the docs examples
|
|
|
|
[source, js]
|
|
----
|
|
const response = await client.indices.forcemerge({
|
|
index: ".ds-my-data-stream-2099.03.07-000001",
|
|
max_num_segments: 1,
|
|
});
|
|
console.log(response);
|
|
----
|