A simple implementation of a local search engine for my notes.
I wanted to experiment with tf-idf and this is what I created. It is usable, but it still needs some work.
First run make
in the command line. With the exececutable produce run:
./mini-se index <path/to/folder/to/index>
To index a specific folder. This command will create a SQLite database where the information of tf-idf will be saved.
./mini-se serve
To serve the webpage where you can see the indexed pages.
You need to install the following.
sudo dnf install sqlite-devel sqlitecpp-devel g++
In this case it is for Fedora.
This is still a work in progress and can change in the future.