// query-dsl/match-query.asciidoc:175

[source, php]
----
$params = [
    'body' => [
        'query' => [
            'match' => [
                'message' => [
                    'query' => 'this is a test',
                    'operator' => 'and',
                ],
            ],
        ],
    ],
];
$response = $client->search($params);
----
