patientslikeme/es_dump_restore — pull request #6 by leonardoobaptistaa (2013-12-16 23:03:52+00:00)
Title: Fix - check if batch['hits'] isn't nil

In some cases batch['hits'] is nil, and calling batch['hits']['hits'] was making the gem crash