[source, ruby]
----
response = client.search(
  body: {
    query: {
      wildcard: {
        'user.id' => {
          value: 'ki*y',
          boost: 1,
          rewrite: 'constant_score_blended'
        }
      }
    }
  }
)
puts response
----
