Elasticsearch/Client/7_0/Direct/Graph.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # Licensed to Elasticsearch B.V under one or more agreements.
2 # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3 # See the LICENSE file in the project root for more information
4  
5 package Search::Elasticsearch::Client::7_0::Direct::Graph;
6 $Search::Elasticsearch::Client::7_0::Direct::Graph::VERSION = '7.30_1'; # TRIAL
7  
8 $Search::Elasticsearch::Client::7_0::Direct::Graph::VERSION = '7.301';
9 use Moo;
10 with 'Search::Elasticsearch::Client::7_0::Role::API';
11 with 'Search::Elasticsearch::Role::Client::Direct';
12 use namespace::clean;
13  
14 __PACKAGE__->_install_api('graph');
15  
16 1;
17  
18 =pod
19  
20 =encoding UTF-8
21  
22 =head1 NAME
23  
24 Search::Elasticsearch::Client::7_0::Direct::Graph - Plugin providing Graph API for Search::Elasticsearch 7.x
25  
26 =head1 VERSION
27  
28 version 7.30_1
29  
30 =head1 SYNOPSIS
31  
32 my $response = $es->graph->explore(...);
33  
34 =head2 DESCRIPTION
35  
36 This class extends the L<Search::Elasticsearch> client with a C<graph>
37 namespace, to support the API for the
38 L<Graph|https://www.elastic.co/guide/en/x-pack/current/xpack-graph.html> plugin for Elasticsearch.
39  
40 =head1 METHODS
41  
42 The full documentation for the Graph plugin is available here:
43 L<https://www.elastic.co/guide/en/graph/current/index.html>
44  
45 =head2 C<explore()>
46  
47 $response = $es->graph->explore(
48 index => $index | \@indices, # optional
49 type => $type | \@types, # optional
50 body => {...}
51 )
52  
53 The C<explore()> method allows you to discover vertices and connections which relate
54 to your query.
55  
56 See the L<explore docs|https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html>
57 for more information.
58  
59 Query string parameters:
60 C<error_trace>,
61 C<human>,
62 C<routing>,
63 C<timeout>
64  
65 =head1 AUTHOR
66  
67 Enrico Zimuel <enrico.zimuel@elastic.co>
68  
69 =head1 COPYRIGHT AND LICENSE
70  
71 This software is Copyright (c) 2020 by Elasticsearch BV.
72  
73 This is free software, licensed under:
74  
75 The Apache License, Version 2.0, January 2004
76  
77 =cut
78  
79 __END__