The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Search::Elasticsearch::CxnPool::Sticky - A CxnPool for connecting to a remote cluster with a static list of nodes.

VERSION

version 5.01

SYNOPSIS

    $e = Search::Elasticsearch->new(
        cxn_pool => 'Sticky',
        nodes    => [
            'search1:9200',
            'search2:9200'
        ],
    );

DESCRIPTION

Like the Static connection pool, except does not round robin nodes unless there has been a connection failure.

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.