Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TheKotlinDev/SpringBoot-Elasticsearch-example-using-JEST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot Elasticsearch example using JEST

Example application using jest and elasticsearch inside Spring Boot

Using JEST, this application shows how easy it is to connect up to Elasticsearch clusters.

Using Jest with an instance of ElasticSearch

You will need to have access to an instance of ElasticSearch (Locally or hosted).

Make sure the URI is pointing at your ElasticSearch cluster and you are good to go! This is the default URI for ElasticSearch and should be correct provided you have not tried to change the configuration of your ElasticSearch cluster.

data:
    jest:
      uri: http://localhost:9200

Using Jest without an instance of ElasticSearch

You can run this application without an ElasticSearch instance on your machine. To do this, comment out the exluded elasticsearch autoconfiguration classes in application.yml as shown below.

autoconfigure:
    exclude:
      # - org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchDataAutoConfiguration
      # - org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchAutoConfiguration

An instance of elasticsearch will now run inside your application. Note. This is not recommended but can be done for development purposes.

Extra information about JEST

For any specific information about JEST, go to the GitHub repo for the project here https://github.com/VanRoy/spring-data-jest

About

Example application using jest and elasticsearch inside Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages