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