/elasticsearch-rest-client-samples

Elasticsearch REST client samples using Testcontainers

Primary LanguageJavaApache License 2.0Apache-2.0

Elasticsearch REST client examples

This repository shows a few examples of how to use the Elasticsearch Java client. It is using Testcontainers for Elasticsearch, so you need to have Docker up and running.

You can run the tests via ./gradlew clean check, but I suppose just reading the source in an IDE is more interesting.

Note: The main branch of this repo uses the new Elasticsearch Client. If you are still using the old one ``, simply switch to the hlrc branch of this repo).