Skip to content

harikrishnanmurthy/accordium

Repository files navigation

Spring-boot elasticsearch autocomplete example

Home Page

REST API

Technology Stack

Instructions

For DB Installation

For Data Dumping

  • Download curl (for windows os) (https://dl.uxnr.de/build/curl/curl_winssl_msys2_mingw64_stc/curl-7.57.0/curl-7.57.0.zip)
  • Add curl installation path to windows path variable
  • Download the "accordium.json" file located in src/main/resources folder and save it anywhere in your machine
  • Open command prompt and cd to the path where you have saved the file (for eg D:\softwares)
  • Issue the following command to dump data into elastic curl -s -XPOST localhost:9200/_bulk --data-binary @accordium.json

For autocomplete demo

  • Run the AutocompleteApplication.java file (preferably from eclipse)
  • Open http://localhost:8080/ on our browser (preferably chrome)
  • Type an author name (for eg jeffreyarcher)

About

spring boot elastic search autocomplete

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published