1// query-dsl/match-query.asciidoc:241 2 3[source, php] 4---- 5$params = [ 6 'body' => [ 7 'query' => [ 8 'match' => [ 9 'message' => [ 10 'query' => 'to be or not to be', 11 'operator' => 'and', 12 'zero_terms_query' => 'all', 13 ], 14 ], 15 ], 16 ], 17]; 18$response = $client->search($params); 19---- 20