Skip to content

AbderrahimAl/SayMySearch

Repository files navigation

A small search engine based on Elasticsearch 🔍

Getting Started

  1. Clone the repository and install python dependencies
$ git clone https://github.com/AbderrahimAl/SayMySearch.git

$ cd SayMySearch

$ pip install -r requirements
  1. Create .env file

You will need to create 3 environement varaibles to establish the connection with elasticsearch.

The easiest way is to create .env file and add the environement varaibles to it:

ES_CLOUD_ID =  <cloud id>
ES_USERNAME = elastic
ES_PASSWORD = <elasticsearch deployement password>
  1. Run it

Run the server with

$ uvicorn app.api:app

INFO:     Started server process [58313]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
  1. Check it

Open your browser at http://127.0.0.1:8000/

Show Your Support

If you find this project useful, please consider giving it a Star on GitHub to show your support and help others discover it.

About

A small search engine based on Elasticsearch 🔍

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published