How do you use ESIntegTestCase?

Do I have to use an instance of elasticsearch with this or does this spin up a cluster/node all by itself?
Would I be able to supply it mock data and query it like a normal elastic search node? Any good guides out there?



It spins up a cluster all by itself. It is really designed for testing Elasticsearch plugins rather than client applications. Things like scripting and reindex won't be available. For client applications it is usually better to run against a real version of elasticsearch.

Gotcha, thanks Nik

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.