A wrapper for the elasticsearch nodejs module