A small search engine based on Elasticsearch 🔍
- Clone the repository and install python dependencies
$ git clone https://github.com/AbderrahimAl/SayMySearch.git
$ cd SayMySearch
$ pip install -r requirements
- 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>
- 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)
- Check it
Open your browser at http://127.0.0.1:8000/
If you find this project useful, please consider giving it a to show your support and help others discover it.