Skip to content

kagan770/elasticsearch-java-client-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elasticsearch Client Java Sample project

https://discuss.elastic.co has many questions about the Elasticsearch Java Client.

To address those questions, I often attempt to reproduce the issues.

This repository houses many examples derived from those discussions. I believe it could be beneficial for many, so I've made the code available here.

You're welcome to contribute your own examples if you'd like.

This repository is tested against Elasticsearch 8.10.1.

Start a local cluster

You can start Elasticsearch locally using docker-compose:

docker-compose up

Using embedded TestContainers Elasticsearch module

If a local cluster is not running at https://localhost:9200, we will start automatically a Docker image using the Elasticsearch module for TestContainers.

It requires to have Docker running.

About

Elasticsearch Client Java Sample project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%