This module is ALPHA and subject to change. Use at your own risk.
Dancer::Plugin::ElasticSearch - ElasticSearch wrapper for Dancer
use Dancer::Plugin::ElasticSearch; $data = elsearch->get( index => 'twitter', type => 'tweet', id => 1 );
Dancer::Plugin::ElasticSearch allows easy ES use with the elsearch keyword.
Returns an ES connection object.
Make sure to appropriately configure the plugin in your config.yml
plugins: ElasticSearch: servers : 127.0.0.1:9200 transport : http max_requests : 10_000 trace_calls : 1 no_refresh : 0
Dancer, ElasticSearch, perl(1)
Job van Achterberg <jkva@cpan.org>
Copyright (C) 2011 Job van Achterberg <jkva@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Dancer::Plugin::ElasticSearch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Plugin::ElasticSearch
CPAN shell
perl -MCPAN -e shell install Dancer::Plugin::ElasticSearch
For more information on module installation, please visit the detailed CPAN module installation guide.