This is an ongoing improvement on @akrylysov Simple FTS Engine Project
Below are the intended improvements and their status:
- Store the index on disk
- Expose searching via a http server interface
- Sort results by relevance.
- Pagination
- Extend boolean queries to support OR and NOT (OR is done. There's support for partial matches which can be then sorted by relevance)
- Support indexing multiple document fields.
I'm also working on blog post to explain the changes and design decisions.
To run this project
chmod +x ./start.sh # grant permissions to the start script
./start.sh
It's very important to use the correct versions. There seems to be a lot of breaking changes and compatibility issues between the versions. So use the below versions