$VAR1 = { 'hits' => 12, 'max_score' => '12.971473', 'query_time' => 6, 'results' => [ { 'ID' => '1384836', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.74833', 'score' => '12.971473', 'timestamp' => '2016-06-06T17:50:38.739Z', 'lng' => '115.76444', 'geo_distance' => '0' }, { 'ID' => '637856', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.74833', 'score' => '10.384853', 'timestamp' => '2016-06-06T17:49:50.439Z', 'lng' => '115.76444', 'geo_distance' => '0' }, { 'ID' => '2776826', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.748322', 'score' => '10.384853', 'timestamp' => '2016-06-06T17:52:56.432Z', 'lng' => '115.764441', 'geo_distance' => '0.000891418485462008' }, { 'ID' => '1385592', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.74233', 'score' => '12.971473', 'timestamp' => '2016-06-06T17:51:09.753Z', 'lng' => '115.76258', 'geo_distance' => '0.686728206149119' }, { 'ID' => '1385664', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.74082', 'score' => '12.971473', 'timestamp' => '2016-06-06T17:51:17.074Z', 'lng' => '115.76126', 'geo_distance' => '0.883402602579416' }, { 'ID' => '1475696', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.74005', 'score' => '10.384853', 'timestamp' => '2016-06-06T17:51:28.988Z', 'lng' => '115.76286', 'geo_distance' => '0.928364314880999' }, { 'ID' => '2004262', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.74005', 'score' => '7.798234', 'timestamp' => '2017-01-19T00:01:30.766Z', 'lng' => '115.76286', 'geo_distance' => '0.928364314880999' }, { 'ID' => '1566656', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.7334332', 'score' => '12.971473', 'timestamp' => '2016-06-06T17:51:49.329Z', 'lng' => '115.7690821', 'geo_distance' => '1.70559357560513' }, { 'ID' => '1385665', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.75192', 'score' => '10.384853', 'timestamp' => '2016-06-06T17:51:18.22Z', 'lng' => '115.74343', 'geo_distance' => '2.0168040154335' }, { 'ID' => '1385134', 'has_active_fl' => '0', 'result_type' => 'links', 'lat' => '-31.77076', 'score' => '10.384853', 'timestamp' => '2016-06-06T17:50:51.728Z', 'lng' => '115.75339', 'geo_distance' => '2.69139097094932' } ] }; $VAR2 = { 'qt' => 'mcGeo', 'radius' => 5, 'lat' => '-31.74833', 'q' => ' +category_name_list:"home services curtains custom and ready made wa perth" +result_type:links', 'long' => '115.76444' };