1// query-dsl/match-query.asciidoc:18 2 3[source, php] 4---- 5$params = [ 6 'body' => [ 7 'query' => [ 8 'match' => [ 9 'message' => [ 10 'query' => 'this is a test', 11 ], 12 ], 13 ], 14 ], 15]; 16$response = $client->search($params); 17---- 18