LocalSearch
is a client-side full-text library.
-
Able to index and search through 20 000 film titles in a few milliseconds.
-
Tested with the Rust framework Seed - see
/test_app
. -
Supports autocomplete.
-
Integrates tf-idf & Levenshtein algorithms, edit distance & prefix boosting and some other technics to improve scoring.
-
Is deployed manually to Netlify.
-
It's the release build of
/test_app
. -
How to use it:
- Click the button
Download & Deserialize
. (The first download is usually slow because the dataset with 20k films isn't cached either by Netlify or by the browser.) - Click
Index
- Write a title name into the field
Query
- e.g.office
- Click the button
Run unit and doc tests by $ cargo test
from the project root. And then $ cargo fmt --all
.
Please, test your changes manually in /test_app
(see its README for more info). And don't forget to run cargo make verify
in /test_app
to format and lint the project before the push.
built with love and serious coding skills by the Stremio Team