Skip to content

Sample application using full-text search on different indexes based on an Instagram-like database. With Java API

Notifications You must be signed in to change notification settings

borumv/elastic-search-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Sample application using full-text search with filters on different indexes based on an Instagram-like database.

How to start

  • create .env file in the same fold with docker-compose:

  • Run docker-compose.yml for elasticsearch/kibana: If you have problem with mem-limit, you can solve it using command sudo sysctl -w vm.max_map_count=262144

  • to create a mapping of indexes and fill them with data, you can use the file script.elastic

  • enter the elasticsearch.username and elasticsearch.password in application.proeprties

  • run application

Client

  • For interaction after starting the application, you can look at the api through the swagger with url http://localhost:8080/swagger-ui/index.html
ScreenRecorderProject1.mp4

About

Sample application using full-text search on different indexes based on an Instagram-like database. With Java API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages