spring-boot – Spring Boot + Spring Data Elasticsearch – Spring Boot and Spring Data Elasticsearch integration

In this example we are going to implement spring-data-elasticsearch project to store POJO in elasticsearch. We will see a sample maven project which does the followings:

  • Insert a Greeting(id, username, message) item on elasticsearch.
  • Get All Greeting items which have been inserted.
  • Update a Greeting item.
  • Delete a Greeting item.
  • Get a Greeting item by id.
  • Get all Greeting items by username.

if you want to reproduce, please indicate the source:
spring-boot – Spring Boot + Spring Data Elasticsearch – Spring Boot and Spring Data Elasticsearch integration - CodeDay