// getting-started.asciidoc:512 [source, php] ---- $params = [ 'index' => 'bank', 'body' => [ 'query' => [ 'bool' => [ 'must' => [ [ 'match' => [ 'age' => '40', ], ], ], 'must_not' => [ [ 'match' => [ 'state' => 'ID', ], ], ], ], ], ], ]; $response = $client->search($params); ----