1// query-dsl/multi-match-query.asciidoc:33
2
3[source, php]
4----
5$params = [
6    'body' => [
7        'query' => [
8            'multi_match' => [
9                'query' => 'Will Smith',
10                'fields' => [
11                    'title',
12                    '*_name',
13                ],
14            ],
15        ],
16    ],
17];
18$response = $client->search($params);
19----
20