elasticsearch/elasticsearch-hadoop — pull request #31 by tzolov (2013-04-11 17:44:46+00:00)
Title: Resolve #30 Embed ES as part of the build

https://github.com/tzolov/elasticsearch-hadoop/tree/master/src/test/java/org/elasticsearch/hadoop/crunch

Sample usage in test:

```Java
@BeforeClass
public static void beforeClass() {
esServer = new EmbeddedElasticsearchServer();
}

@AfterClass
public static void afterClass() {
esServer.shutdown();
}
````
There are several helper utility methods for counting, indexing and searching that I found useful for testing (check the CurnchEndToEndTest)