1// query-dsl/query-string-query.asciidoc:287 2 3[source, php] 4---- 5$params = [ 6 'body' => [ 7 'query' => [ 8 'query_string' => [ 9 'fields' => [ 10 'content', 11 'name^5', 12 ], 13 'query' => 'this AND that OR thus', 14 'tie_breaker' => 0, 15 ], 16 ], 17 ], 18]; 19$response = $client->search($params); 20---- 21