refactoring to use official ES ruby lib
use elasticsearch gem
size should be an option