/poc-spring-data-elasticsearch

This is a simple poc that used Spring Data integrated with Elasticsearch

Primary LanguageKotlinApache License 2.0Apache-2.0

Overview

This is a simple poc that used Spring Data integrated with Elasticsearch

Testing

First, you need to open a terminal at the root of the application.

Second, you need to the Docker Compose running the command bellow:

docker-compuse up -d

Third, you need to start your application running the command bellow:

mvn clean spring-boot:run

Forth, to see if the application saved the model correctly you need to open the following URL

http://localhost:5000/#!/

Cleaning up

First, you need to stop your application

Second, you need to stop Docker Compose running the command bellow:

docker-compuse stop -v

Tips

Elasticsearch GUI

To see Elasticsearch data you can use a GUI called ElasticHQ!

Testing health of Elasticsearch

To test if everthing is fine with the Elasticsearch you can run the command below:

    curl -X GET "localhost:9200/_cat/nodes?v=true&pretty"

Be Happy