The search machine is using the index.json file to process results.
The function 'create_index' can be called to generate this file. It uses a set of plain text files to index each word and its corresponding TFIDF value.
## Changing txt documents
If you want to work with another set of texts, make a 'txt/' folder, add a few txt files in it, and remove the index.json file (or rename it if you want to keep it).