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

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