Clinton Gormley
- About: The doctor will see you now...
Recent Actions
-
Posted Renaming Perl client for Elasticsearch to Clinton Gormley
Dear Perl'ers
I need your help to choose a new name for the official Perl client for Elasticsearch.
Read more here: http://www.elasticsearch.org/blog/renaming-perl-client/
-
Commented on ElasticSearch::AnyEvent pre-release available on github
Yes, we have two async backends: AnyEvent::HTTP - https://metacpan.org/module/ElasticSearch::Transport::AEHTTP libcurl - https://metacpan.org/module/ElasticSearch::Transport::AECurl Just install these modules and use "transport" to choose your backend: $e = ElasticSearch->new( transport=>'aehttp' ); However, Elastic::Model doesn't have async support yet - still working on that....
-
Posted RFC: Single or multiple instances of ORM objects? to Clinton Gormley
In our homegrown ORM we have an in-memory cache, which enables us at any one time.
In other words:
="color: black; padding: 10px; line-height: 1.4; overflow-x: auto; border-radius: 6px 6px 6px 6px; backgroun…
-
Commented on ElasticSearch::Sequence - a blazing fast ticket server
Hi JT While I will probably use ES's non-int keys for my new application, my existing code expects integer keys (and they're easier to read). So migration would be made easier by having this option available. Regardless, I wanted to...
-
Posted ElasticSearch::Sequence - a blazing fast ticket server to Clinton Gormley
I'm considering ditching my RDBM for my next application and using ElasticSearch as my only data store.
My home-grown framework uses unique IDs for all objects, which currently come from a MySQL auto-increment column, and my framework expects th…
-
Commented on Simple config for the perl debugger
I like that 'v' on every step a lot! Thanks for the tip...
-
Commented on Querying ElasticSearch from VIM
I use the debugger to play with ElasticSearch: perl -de 0 > use ElasticSearch; > $e=ElasticSearch->new(); # print all JSON to STDERR > $e->trace_calls(1); # do something > $e->cluster_health; # show all available methods > m $e # print usage...
-
Commented on Perlish concise query syntax for ElasticSearch
Hi Ask Yes, an empty filter or query element will be ignored. Re the { foo => ['-and','bar','baz']} That syntax is straight from SQL::Abstract, and the combination of -and|-or with []{} can get tricky. Your example of { foo =>['-and'...
-
Posted Perlish concise query syntax for ElasticSearch to Clinton Gormley
Announcing ElasticSearch::SearchBuilder
In Perl, we like to put important things first, so the ElasticSearch query language has always felt a bit wrong to me. For instance, to find docs where the
content
field contains the textk…
-
Posted ElasticSearch.pm v0.37 released, with a small breaking change to Clinton Gormley
Just released ElasticSearch.pm v 0.37 which has a small breaking change.
In version 0.36,
$scrolled_search->next()
returned the next$size
results. Now, by default… -
Posted ElasticSearch.pm v0.36, now with extra sugar to Clinton Gormley
ElasticSearch v 0.16.0 was released yesterday with a long list of new features, enhancements and bug fixes.
-
Posted Firefox 4 bug adding inline script tag - last tag doesn't fire to Clinton Gormley
I came across a nasty bug in Firefox 4 today, which will break a lot of AJAX.
All script tags fire, except for the last one, eg:
function test(num) { var temp = document.createElement('div'); var src = '<script …
-
Commented on How to set up your own PerlMongers web service in 10 minutes or less
Hmmm,that's weird. Especially as that particular entry has only ASCII characters. What's the error you get in the elasticsearch log? I wonder if this is a version thing - what version of Perl , XML::Simple, WWW::Mechanize and WWW::Mechanize::Cached are you...
-
Posted Lazyweb: ElasticSearch proxy to Clinton Gormley
Hi all
We get a lot of people who want to use javascript to talk to their ElasticSearch server, directly from the browser.
This poses a problem, as ElasticSearch doesn't offer any authentication, or request filtering.
I'd like to w…
-
Commented on How to set up your own PerlMongers web service in 10 minutes or less
Hi Oalders nice post! One question: why do you encode to UTF8? That should be handled by ElasticSearch.pm. Did you see any issues with encoding? I tried deleting that block and rerunning the script, and the encoding seems fine. ta...
-
Commented on Syntax highlighting for the Perl debugger
Ooooh yes please...
-
Commented on Why uninitialized variables are bad (Linux kernel and more)
Hi Sawyer If you'd used strict and warnings in your blog post, you would have noticed that you had an undefined, undeclared global variable in your text: $work. What kind of example does this set? Clint :P...
-
Posted ElasticSearch.pm gets big performance boost to Clinton Gormley
ElasticSearch version 0.12 is out today along with some nice new features.
However, the thing I'm most excited about is that Elasti…
-
Commented on Please provide a change log
Hear hear!...
-
Posted ElasticSearch::AnyEvent pre-release available on github to Clinton Gormley
I've just pushed ElasticSearch::AnyEvent - this brings async requests to the Perl ElasticSearch client. It is still lacking proper documentation and any tests, which will soon follow.
It is available on the anyeven…
-
Posted ElasticSearch at YAPC::EU 2010 - slides live to Clinton Gormley
My slides from my talk at YAPC::EU 2010, "ElasticSearch - You know, for search", are now available here:
http://clintongormley.github.com/ElasticSearch.pm/ElasticSearch_YAPC-EU…
-
Posted ElasticSearch at YAPC::EU to Clinton Gormley
If you're lucky enough to be coming to YAPC::EU and you're interested in ElasticSearch, come along to my talk
I'll be giving a brief introduction to what it is, the benefits, and how to talk to Elast…
-
Posted ElasticSearch gets facets, scripting and better performance to Clinton Gormley
I've just released ElasticSearch.pm version 0.18 which supports ElasticSearch version 0.9.0
Some of the major new features in ElasticSearch 0.9.0 are (or se…
-
Commented on Adding gettext support to Git
I maintain Locale::Maketext::Lexicon (I'm not the original author), and the xgettext.pl script makes it really easy to maintain your PO file. It finds i18n'able strings in Perl code, Template Toolkit and Template Text templates, Mason, YAML and FormFu config. It...
-
Posted Released ElasticSearch 0.12 and Alien::ElasticSearch 0.10 to Clinton Gormley
Just released the above two modules to support the ElasticSearch server version 0.6.0, which you can read about here: http://www.elasticsearch.com/blog/2010/04/09/0.6.0_released.html
New features include:
… -
Posted Alien::ElasticSearch 0.05 and ElasticSearch.pm 0.03 to Clinton Gormley
Just released Alien::ElasticSearch (version 0.05 on its way to a CPAN near you).
This downloads, builds and installs the latest version of ElasticSearch from GitHub, which makes a …
-
Commented on How should I write a test suite which depends on an external server?
Thanks for the comment, Brian Lars Dɪᴇᴄᴋᴏᴡ emailed me with this suggestion, which sounds pretty reasonable to me: --------------------------------- Yes, do try to download and build ElasticSearch if missing; put that functionality in a seperate distribution Alien::ElasticSearch. In ElasticSearch's Build.PL,...
-
Posted How should I write a test suite which depends on an external server? to Clinton Gormley
I'm in the process of writing a test suite for ElasticSearch.pm, but in order for it to run any tests, it requires access to an ElasticSearch cluster.
Currently, I just s…
-
Commented on Perl API for ElasticSearch
ElasticSearch, not OpenSearch, and Solr didn't replace Lucene - it is also based on Lucene...
-
Posted Perl API for ElasticSearch to Clinton Gormley
I was about to start implementing the Sphinx full text search engine on our site when I saw that a new open source search engine ElasticSearch has just been released.
Comment Threads
-
Aristotle commented on
Simple config for the perl debugger
sub afterinit { push @$DB::pretype, 'v' }
-
Chisel commented on
Simple config for the perl debugger
I've not stumbled across pretype before; that looks much simpler! Thanks.
-
Chisel commented on
Simple config for the perl debugger
sub afterinit { push @$DB::pretype, 'v' }
seems to suffer from the same buildup of 'v' commands.
After a couple of (R)estarts:
DB x @$DB::pretype
0 'v'
1 'v'
2 'v'
3 'v' -
Nate Jones commented on
Simple config for the perl debugger
This worked for me:
sub afterinit { push @$DB::pretype, 'v' unless grep { /v/ } @$DB::pretype; } ;
-
Chisel commented on
Simple config for the perl debugger
I'd use /^v$/ out of paranoia, but great suggestion!
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.