/afex-search-engine

A search engine that allows users to search for documents based on their content.

Primary LanguagePython

AFEX-SEARCH-ENGINE

This project is built on Python 3.9.x and Django 4.x.

Installation

Use the package manager pip to install requirements.

pip install -r requirements.txt

Setup

Copy the values from the example.env file to a new .env file in the same directory. You can edit the values to suite your credentials.

Usage

CD into the searchengine folder that contains the manage.py

Run python manage.py runserver

This will take approximately 30 seconds - 1 minute on the initial run depending on your network/signal strength. The process of downloading a vital package nltk_punkt is run once at the beginning of this process. Subsequent server runs on the same system will not require this process.

Visit Search to run a search query.

Visit Index to save a document string to DB.

Process Flow of System

View the process flow of the system here: FLOW DIAGRAM

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.