NAME
Search::Elasticsearch::Plugin::XPack::1_0 - Plugin providing XPack APIs for Search::Elasticsearch v1.x
VERSION
version 5.02
SYNOPSIS
use Search::Elasticsearch();
my $es = Search::Elasticsearch->new(
nodes => \@nodes,
plugins => ['XPack']
);
$es->watcher;
DESCRIPTION
This class extends the Search::Elasticsearch client to add support for the X-Pack commercial plugins for Elasticsearch 1.x.
It extends the Search::Elasticsearch client with a watcher
namespace, to support the APIs for the Watcher plugin.
In other words, it can be used as follows:
use Search::Elasticsearch();
my $es = Search::Elasticsearch->new(
nodes => \@nodes,
plugins => ['XPack']
);
my $response = $es->watcher->info();
For details about the supported methods in the watcher
namespace, see, "Search::Elasticsearch::Plugin::XPack::1_0::Watcher" in watcher().
AUTHOR
Clinton Gormley <drtech@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2017 by Elasticsearch BV.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004