Example of using ElasticSearch Java Client API