// 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.bulk({ index: "my_index", refresh: "true", operations: [ { index: { _id: 1, }, }, { my_counter: 0, }, { index: { _id: 2, }, }, { my_counter: 9223372036854776000, }, { index: { _id: 3, }, }, { my_counter: 18446744073709552000, }, { index: { _id: 4, }, }, { my_counter: 18446744073709552000, }, ], }); console.log(response); ----