A long time ago, I wrote this article in french explaining how to test a Java application talking to Elasticsearch. At that time (Elasticsearch 1.x), it was easy to start en embedded Elasticsearch, it was a oneliner: Starting with Elasticsearch 5.0, it’s forbidden to start an embedded Elasticsearch. The NodeBuilder class used above doesn’t exist anymore, and most of classes used to start Elasticse