Embedded elastic search for unit tests or functional tests

Is there a way to run elastic search engine embedded in the code so
that I can write functional tests?

Here is an example : https://github.com/dadoonet/rssriver/blob/master/src/test/java/org/elasticsearch/river/rss/RssRiverTest.java

Just Start a node in java...

David :wink:

Le 27 sept. 2011 à 06:36, Mohit Anchlia mohitanchlia@gmail.com a écrit :

Is there a way to run Elasticsearch engine embedded in the code so
that I can write functional tests?