Executable example code based on Spring Boot.

Version Information
All examples are based on Elasticsearch 8.11.x, Spring Boot 3.2.x, and Java 17+.

Example List#

Environment Setup#

Configure Elasticsearch + Kibana with Docker and set up a Spring Boot project.

Basic Examples#

Implement Document CRUD and basic search using Spring Data Elasticsearch.

Product Search System#

Implement production-ready product search features:

  • Korean morphological analysis (nori)
  • Autocomplete
  • Filter + search combination
  • Search result highlighting

Log Analysis System#

Implement a system to collect, store, and analyze application logs:

  • Logback → direct Elasticsearch transmission
  • Error log search and request tracing
  • Error rate, response time analysis (aggregations)
  • Log lifecycle management using ILM