Skip to content

ashishu007/Search-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search-Engine

Document search using different ranking algorithms

Algorithms supported

This is the list of algorithms currently supported for document ranking.

  • TF
  • TF-IDF
  • BM25
  • BERT

Docker Image

  • 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

Heroku

Assuming you have docker installed and an app created on heroku.

  1. Suppose the app created on heroku is: rgu-soc-search-eng

  2. Clone the repo:

    git clone https://github.com/ashishu007/Search-Engine.git

  3. Build the docker-container:

    docker build -t search-eng:latest .

  4. 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
  5. Push the tagged container to the heroku-registry:

    docker push registry.heroku.com/rgu-soc-search-eng/web

  6. Release the container on heroku:

    heroku container:release -a rgu-soc-search-eng web

  7. Goto the browser, and type: rgu-soc-search-eng.herokuapp.com