Document search using different ranking algorithms
This is the list of algorithms currently supported for document ranking.
- TF
- TF-IDF
BM25BERT
-
Pull the image from
docker-hub:docker pull ashishu007/rgu-soc-se:latest -
Run the image:
docker run -d -p 5000:5000 ashishu007/rgu-soc-se:latest -
The Flask app will be running on
http://localhost:5000
Assuming you have docker installed and an app created on heroku.
-
Suppose the app created on heroku is:
rgu-soc-search-eng -
Clone the repo:
git clone https://github.com/ashishu007/Search-Engine.git -
Build the docker-container:
docker build -t search-eng:latest . -
Tag the docker-container:
docker tag search-eng registry.heroku.com/rgu-soc-search-eng/web- If getting authentication required message, run this:
heroku container:login
- If getting authentication required message, run this:
-
Push the tagged container to the heroku-registry:
docker push registry.heroku.com/rgu-soc-search-eng/web -
Release the container on heroku:
heroku container:release -a rgu-soc-search-eng web -
Goto the browser, and type: rgu-soc-search-eng.herokuapp.com