work in progress for ElasticSearch