logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Search::Elasticsearch::Client::8_0::Direct::Graph - Plugin providing Graph API for Search::Elasticsearch

Author

       Enrico Zimuel <enrico.zimuel@elastic.co>

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"

Name

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

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.

Version

       version 8.12

See Also