ElasticSearch.pm 0.36 released, now with support for reindexing

(Clinton Gormley) #1

Hi All

Given how often people ask about reindexing their data, I've added
support for it to ElasticSearch.pm (the Perl API).

It now supports reindexing data from one index to another on the same
cluster, or from one cluster to another, transforming it on the way

For example, to copy the ElasticSearch website index locally, you could

my $local = ElasticSearch->new(
    servers => 'localhost:9200'

my $remote = ElasticSearch->new(
    servers    => 'search.elasticsearch.org:80',
    no_refresh => 1

my $source = $remote->scrolled_search(
    search_type => 'scan',
    scroll      => '5m'


More details and other new features blogged about here:


(system) #2