Clinton Gormley > ElasticSearch-Transport-Thrift-0.03 > ElasticSearch::Transport::Thrift

Download:
ElasticSearch-Transport-Thrift-0.03.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

ElasticSearch::Transport::Thrift - A Thrift backend for ElasticSearch

VERSION ^

version 0.03

SYNOPSIS ^

    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.

DESCRIPTION ^

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.

SEE ALSO ^

1;

AUTHOR ^

Clinton Gormley <drtech@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Clinton Gormley.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: