[source, ruby]
----
response = client.bulk(
  index: 'quantized-image-index',
  refresh: true,
  body: [
    {
      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'
    }
  ]
)
puts response
----
