Elasticsearch Spring Data with RestHighLevelClient
There's an open issue regarding this in the Spring Data ES repo: https://jira.spring.io/browse/DATAES-407
spring-data-elasticsearch 3.2.0, now available as M2 contains the code to use the RestClient.
See my answer to this question: What Elasticsearch client does Spring-Data-Elasticsearch use under the hood? for how to set it up
Spring Data Moore has been release including this feature (October 8 2019).This is the main description:
Elasticsearch: High Level REST Client support & non Jackson based entity mapping
If yo need more detail You will be able to have a look to this jira issue:
https://jira.spring.io/browse/DATAES-407 for more detail