updated es_search with all parameters, closes #5