Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.
/ search-service-es Public archive

Sample Search Service Using SpringBoot and ElasticSearch

Notifications You must be signed in to change notification settings

GrowwOld/search-service-es

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

  1. Clone the repository in your local system's directory.

  2. cd into that repository

To build the project use the command : mvn clean install

To run the project use the command : mvn spring-boot:run

After the server starts successfully, test the application.

To test the APIs head to Postman:

  1. Ingestion API : Send a POST request to the URL: http://127.0.0.1:8181/ingest

  2. Search API :

    1. To get all data from the ElasticSearch Index , send a GET request to the URL : http://127.0.0.1:8181/example
    2. To query a particular string , send a GET request to the URL : http://127.0.0.1:8181/search/{searchString} Examples:
      1. GET to http://127.0.0.1:8181/search/CEO
      2. GET to http://127.0.0.1:8181/search/ELVA

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

About

Sample Search Service Using SpringBoot and ElasticSearch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages