MapReduce program that uses ElasticSearch index as input