Project program structure

In the GitHub repository of this chapter (https://github.com/PacktPublishing/Mastering-Elasticsearch-7.0/tree/master/Chapter18/sprintboot-es-analytics), we can download a Spring Boot project named springboot-es-analytics.

We can use SpringToolSuite4 IDE to edit, compile, and run the data. The project program structure is shown in the following screenshot, which is extracted from the IDE:

Each major package is briefly described as follows:

  • The main method of the Spring Boot project is in EsAnalyticsApplication.java, under the com.example.esanalytics package.
  • There are two Plain Old Java Objects (POJOs), the HistoryData ...

Get Advanced Elasticsearch 7.0 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.