title: The Best way to use ElasticSearch in Spring java framework
body: <p>I'm developing a system which is planning to use elasticsearch as an data repository.
  I'm trying to choose the best way to develop my application that can index and query data from elasticsearch.
  The system I have is built on top of Spring framework.</p>
  
  <p>Is it a good choice to use <strong>Spring-data-elasticsearch</strong>(<a href="https://github.com/spring-projects/spring-data-elasticsearch">https://github.com/spring-projects/spring-data-elasticsearch</a>)?</p>
  
  <p>Or is it a good choice to use <strong>elasticsearch core libraries itself</strong>?</p>
  
  <p>I need to handle nested data (inner object) but Spring-data-elasticsearch seems to have no operations for that recently.</p>
  
  <p>I hope I can find a solution for the question.
  Thanks in advance.</p>