Uploads data to elastic search