Connect to Elasticsearch with Java and RestHighLevelClient

Read this article to learn how to connect to Elasticsearch with RestHighLevelClient, perform queries and filter the output. This could be very helpful for more advanced use cases when you have decided to write your own code. The article is about doing it in Java but should be similar for other RestHighLevelClient supported languages.