Play scripts for elasticsearch-rails