Data::AnyXfer::Elastic::Role::IndexInfo_ES2 - Role representing Elasticsearch information (ES 2.3.5 Support)
if ( $object->does( 'Data::AnyXfer::Elastic::Role::IndexInfo') ) { my $index = $object->get_index; my $results = $index->search( query => { match_all => {} } ); }
This role is used by Data::AnyXfer::Elastic::IndexInfo to retrieve or supply Elasticsearch indexing / storage information.
This basically acts as connection information. Any object satisfying the interface criteria may consume and implement this role.
Data::AnyXfer::Elastic
Data::AnyXfer::Elastic::IndexInfo
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.
To install Data::AnyXfer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::AnyXfer
CPAN shell
perl -MCPAN -e shell install Data::AnyXfer
For more information on module installation, please visit the detailed CPAN module installation guide.