NAME

Data::AnyXfer::Role::Elasticsearch - provides es support for AnyXfer modules

DESCRIPTION

This module is for use primarily by Data::AnyXfer::To::Elasticsearch, but has been provided as a role, for clarity and potential future re-use.

ATTRIBUTES

index_info

Required. An instance of Data::AnyXfer::Elastic::Role::IndexInfo.

es

This is automatically provided.

It holds an instance of Data::AnyXfer::Elastic::Index which can be used to perform Elasticsearch operations.

_bulk

This is a shared bulk helper, which acts as the command queue for the majority of batch operations performed in AnyXfer Elasticsearch modules.

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.