
[discrete]
[[Elasticsearch_Namespaces_GraphNamespace]]
=== Elasticsearch\Namespaces\GraphNamespace



Class GraphNamespace
Generated running $ php util/GenerateEndpoints.php 7.9


*Methods*

The class defines the following methods:

* <<Elasticsearch_Namespaces_GraphNamespaceexplore_explore,`explore()`>>



[[Elasticsearch_Namespaces_GraphNamespaceexplore_explore]]
.`explore()`
****
[source,php]
----
/*
$params['index']   = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices (Required)
$params['type']    = DEPRECATED (list) A comma-separated list of document types to search; leave empty to perform the operation on all types
$params['routing'] = (string) Specific routing value
$params['timeout'] = (time) Explicit operation timeout
$params['body']    = (array) Graph Query DSL
*/

$params = [
    // ...
];

$client = ClientBuilder::create()->build();
$response = $client->graph()->explore($params);
----
****


