1// query-dsl/query-string-query.asciidoc:255
2
3[source, php]
4----
5$params = [
6    'body' => [
7        'query' => [
8            'query_string' => [
9                'fields' => [
10                    'content',
11                    'name',
12                ],
13                'query' => 'this AND that',
14            ],
15        ],
16    ],
17];
18$response = $client->search($params);
19----
20