Skip to content

Sample Spring boot project for working with elastic search

Notifications You must be signed in to change notification settings

svambati/spring-boot-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-elasticsearch

Elastic Search Cluster setup:

Ths command cleans up previous docker container that were stopped already.
docker rm $(docker ps -a -q)

This is to run elasticsearch container version 7.3.2
docker run -p 9200:9200 --name elasticsearch -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.3.2

Executing this command will run one instances of elastic search. We can configure running n number instances with this command too

There is postman collection attached to this folder and this can used for initial sample set to load data to elastic search. You can import this collection to postman and execute it. Make sure Id is different for every insert into index.

About

Sample Spring boot project for working with elastic search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages