App::Prove::Elasticsearch::Indexer - Define what data is to be uploaded to elasticsearch, and handle it's uploading
version 0.001
App::Prove::Elasticsearch::Indexer::check_index({ 'server.host' => 'zippy.test', 'server.port' => 9600 });
The name of the elasticsearch index used. If you are subclassing this, be aware that the Searcher plugin will rely on this.
Number of items returned by queries. Defaults to 1000.
Returns 1 if the index needed to be created, 0 if it's already OK. Dies if the server cannot be reached, or the index creation fails.
Index a test result (see App::Prove::Elasticsearch::Parser for the input).
Helper method for migration scripts. Uploads an array of results in bulk such as would be fed to index_results.
It is up to the caller to chunk inputs as is appropriate for your installation.
Associate an indexed result with a tracked defect.
Requires configuration to be inside of ENV vars already.
Arguments Hash:
Thanks to cPanel Inc, for graciously funding the creation of this module.
George S. Baugh <teodesian@cpan.org>
The development version is on github at http://https://github.com/teodesian/App-Prove-Elasticsearch and may be cloned from git://https://github.com/teodesian/App-Prove-Elasticsearch.git
This software is copyright (c) 2018 by George S. Baugh.
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 App::Prove::Plugin::Elasticsearch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Prove::Plugin::Elasticsearch
CPAN shell
perl -MCPAN -e shell install App::Prove::Plugin::Elasticsearch
For more information on module installation, please visit the detailed CPAN module installation guide.