elasticsearch-rest-client-samples
elasticsearch-rest-client-samples copied to clipboard
Elasticsearch REST client samples using Testcontainers
trafficstars
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).