[source, ruby]
----
response = client.bulk(
  index: 'mv',
  refresh: true,
  body: [
    {
      index: {}
    },
    {
      a: 1,
      b: [
        2,
        1
      ]
    },
    {
      index: {}
    },
    {
      a: 2,
      b: 3
    }
  ]
)
puts response

response = client.esql.query(
  body: {
    query: 'FROM mv | LIMIT 2',
    version: '2024.04.01'
  }
)
puts response
----
