Example using ElasticSearch's Java API to do a bulk index.