ElasticSearch - Milton Keynes Perl Mongers
ElasticSearch - Milton Keynes Perl Mongers
ElasticSearch - Milton Keynes Perl Mongers
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Fetching an individual document<br />
my $data = $es->get(<br />
index => 'mythtv',<br />
id => $get_id,<br />
);<br />
returns<br />
{<br />
}<br />
_id => "fp.bbc.co.uk/5a72ov",<br />
_index => "mythtv",<br />
_source => {<br />
callsign => "BBC 1 Oxford",<br />
category => "News",<br />
description => "Detailed weather forecast",<br />
endtime => "2011-07-29 00:40:00",<br />
programid => "fp.bbc.co.uk/5a72ov",<br />
starttime => "2011-07-29 00:35:00",<br />
title => "Holiday Weatherview",<br />
},<br />
_type => "program",<br />
_version => 5,<br />
exists => bless(do{\(my $o = 1)}, "JSON::XS::Boolean"),