This Groovy project include some examples on migrating Elasticsearch 7.x high level rest client to Elasticsearch 8.x new java client.
- Ensure that you have 2 versions of Elasticsearch running locally on your development machine (Docker is preferred)
- Elasticsearch 7.x on port 9201
- Elasticsearch 8.x on port 9200
- Refer to the test classes for difference in implementation.