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