NAME
Data::AnyXfer::From::Elasticsearch - Transfer data from Elasticsearch as a datasource
SYNOPSYS
use Moo;
use MooX::Types::MooseLike::Base qw(:all);
extends 'Data::AnyXfer';
with 'Data::AnyXfer::From::ElasticsearchAsSource';
use MyIndexInfo ();
has '+source_index_info' => (
default => sub { MyIndexInfo->new }
);
DESCRIPTION
This role configures Data::AnyXfer to use a Data::AnyXfer::Elastic::Role::IndexInfo consumer as a data source.
COPYRIGHT
This software is copyright (c) 2019, Anthony Lucas.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.