title: Elasticsearch Rest Client with Spring Data Elasticsearch
body: <p>I am in a situation where I am using Spring boot and AWS elasticsearch service. AWS Elasticsearch service which only provides REST interface.</p>
  
  <p>Elasticsearch Rest Client is <a href="https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/_initialization.html" rel="noreferrer">here</a>.</p>
  
  <p>Simply, Is it possible to use REST client with Spring Data Elasticsearch?</p>
  
  <p>In other words, Does Spring Data Elasticsearch works with Elasticsearch Rest client?</p>
  
  <p>Spring Data Elasticsearch is very easy to use and template provides very most functionality that I need. With Elasicsearch Rest client I have to implement all the functionality myself.</p>