We can search for files based on the text content present within that file. Or in a generic way, we can also search based on the file type i.e. using file-name or file-extension.
Install the dependencies using requirements.txt using the below line of code:
pip install -r requirements.txt
Execute the Main.py which will create a Db for the files and words in the given directory.
Please provide absolute path of the folder and append it with a slash i.e. '/' for Mac, Linux & '' for Windows. "It's a one-time process that has to be executed."
Execute the retrieval.py which searches based on user input & retrieves the top 5 matching files.