Migrate from Elasticsearch 8 to 9 (legacy Apache HttpClient 4.x transport)

Proprietary

Same API/type migrations as io.moderne.elastic.elastic9.MigrateToElasticsearch9, but keeps the legacy org.elasticsearch.client:elasticsearch-rest-client transport (Apache HttpClient 4.x). Use this only when you intentionally cannot adopt Apache HttpClient 5.x. Not safe to chain inside the Spring Boot 4 migration.

io.moderne.elastic.elastic9.MigrateToElasticsearch9LegacyTransport
mod run . --recipe=io.moderne.elastic.elastic9.MigrateToElasticsearch9LegacyTransport

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Migrate from Elasticsearch 8 to 9 (API renames, transport-agnostic)
  2. Add Gradle or Maven dependency org.elasticsearch.client:elasticsearch-rest-client:9.x