ElasticSearch::Transport::Thrift - Thrift backend
ElasticSearch::Transport::Thrift uses the Thrift to talk to ElasticSearch over sockets.
Although the thrift interface has the right buzzwords (binary, compact, sockets), the generated Perl code is very slow. Until that is improved, I recommend one of the http backends instead.
thrift
http
use ElasticSearch; my $e = ElasticSearch->new( servers => 'search.foo.com:9500', transport => 'thrift', timeout => '10', );
You need to have the transport-thrift plugin installed on your ElasticSearch server for this to work.
transport-thrift
ElasticSearch
ElasticSearch::Transport
ElasticSearch::Transport::HTTP
ElasticSearch::Transport::HTTPLite
Copyright 2010 - 2011 Clinton Gormley.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install ElasticSearch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ElasticSearch
CPAN shell
perl -MCPAN -e shell install ElasticSearch
For more information on module installation, please visit the detailed CPAN module installation guide.