// search/request-body.asciidoc:7

[source, php]
----
$params = [
    'index' => 'twitter',
    'body' => [
        'query' => [
            'term' => [
                'user' => 'kimchy',
            ],
        ],
    ],
];
$response = $client->search($params);
----
