1// query-dsl/multi-match-query.asciidoc:259 2 3[source, php] 4---- 5$params = [ 6 'body' => [ 7 'query' => [ 8 'multi_match' => [ 9 'query' => 'quick brown f', 10 'type' => 'phrase_prefix', 11 'fields' => [ 12 'subject', 13 'message', 14 ], 15 ], 16 ], 17 ], 18]; 19$response = $client->search($params); 20---- 21