Implemented REST API in Spring Boot to replace Elasticsearch java client. This allowed the application to support future versions of Elasticsearch and a migration to Opensearch. Used the Spring WebFlux framework for the following: indexing, updating documents, search, search with aggregations, search templates, document updates via script/pipelines, cluster health, etc.