A simple JUnit rule that can be used to start and stop an embedded ElasticSearch instance. Inspired by http://cupofjava.de/blog/2012/11/27/embedded-elasticsearch-server-for-tests/.
For more information visit http://blog.florian-hopf.de/2013/01/junit-rule-for-elasticsearch.html