ElasticSearch Java API tutorial using test cases.