Great job Clinton! I'll be honest here, the Perl code always managed to look
cryptic to me, but its just great!. I am adding more APIs as I speak to
elasticsearch, so the fun never stops ![]()
-shay.banon
On Mon, Feb 15, 2010 at 9:25 PM, Clinton clinton@iannounce.co.uk wrote:
Hiya
I've just released a Perl API for Elasticsearch which can be found
here: ElasticSearch-0.01 - An API for communicating with ElasticSearch - metacpan.orgI've tried to make the interface pretty similar to the existing JSON
API - feedback welcome.One nice thing that Elasticsearch.pm does is to retrieve a list of all
available nodes in the Elasticsearch cluster, and tries to spread the
load across nodes automatically.Also, if the current node disappears, then it tries to connect to the
other nodes that it knows about. Only if no other nodes are available
does it fail.Blog post about it here:
Perl API for ElasticSearch | Clinton Gormley [blogs.perl.org]I'd especially welcome feedback about the search() interface - just
after releasing it, i saw some docs about facets, which I don't think
my current API supports.I've never used Lucene, so some practical examples of typical queries
would be handythanks
Clint