---
name: "Search::Elasticsearch::Client::7_0::Direct::Graph"
section: "3pm"
platform: "linux"
package: "libsearch-elasticsearch-perl"
version: "7.30-1"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/Search::Elasticsearch::Client::7_0::Direct::Graph"
---

# Search::Elasticsearch::Client::7\_0::Direct::Graph(3pm)

Plugin providing Graph API for Search::Elasticsearch 7.x

## NAME

Search::Elasticsearch::Client::7\_0::Direct::Graph - Plugin providing Graph API for Search::Elasticsearch 7.x

## VERSION

version 7.30

## SYNOPSIS

```
    my $response = $es->graph->explore(...);
```

### DESCRIPTION

This class extends the Search::Elasticsearch client with a `"graph"` namespace, to support the API for the Graph \<https://www.elastic.co/guide/en/x-pack/current/xpack-graph.html\> plugin for Elasticsearch.

## METHODS

The full documentation for the Graph plugin is available here: \<https://www.elastic.co/guide/en/graph/current/index.html\>

### "explore()"

```
    $response = $es->graph->explore(
        index => $index | \@indices,        # optional
        type  => $type  | \@types,          # optional
        body  => {...}
    )
```

The `"explore()"` method allows you to discover vertices and connections which relate to your query.

See the explore docs \<https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html\> for more information.

Query string parameters:\
     `"error_trace"`,\
     `"human"`,\
     `"routing"`,\
     `"timeout"`

## AUTHOR

Enrico Zimuel \<enrico.zimuel@elastic.co\>

## COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Elasticsearch BV.

This is free software, licensed under:

```
  The Apache License, Version 2.0, January 2004
```
