// 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: "quantized-image-index",
  refresh: "true",
  operations: [
    {
      index: {
        _id: "1",
      },
    },
    {
      "image-vector": [0.1, -2],
      title: "moose family",
    },
    {
      index: {
        _id: "2",
      },
    },
    {
      "image-vector": [0.75, -1],
      title: "alpine lake",
    },
    {
      index: {
        _id: "3",
      },
    },
    {
      "image-vector": [1.2, 0.1],
      title: "full moon",
    },
  ],
});
console.log(response);
----
