[source, ruby]
----
response = client.index(
  index: 'test',
  id: 1,
  refresh: true,
  body: {
    test: 'test'
  }
)
puts response

response = client.index(
  index: 'test',
  id: 2,
  refresh: true,
  body: {
    test: 'test'
  }
)
puts response
----
