Copied from nacyot/elasticsearch