| Crates.io | ranked-searcher |
| lib.rs | ranked-searcher |
| version | 0.1.5 |
| created_at | 2025-10-16 18:24:34.128316+00 |
| updated_at | 2025-11-22 18:13:02.393931+00 |
| description | Search inside text files using tf-idf formula, showing the most relevant search at the top |
| homepage | |
| repository | https://github.com/larscom/ranked-searcher |
| max_upload_size | |
| id | 1886512 |
| size | 44,452 |
Search inside text files showing the most relevant search at the top, based on the well known tf-idf formula. Itβs pretty fast, considering the fact it has to gather all the files first and then rank them accordingly.
docx files.gitignore filesbrew tap larscom/tap
brew install larscom/tap/ranked_searcher
curl -fsSL https://github.com/larscom/ranked-searcher/tree/main/scripts/install.sh | sh
cargo install ranked-searcher
Or simply download the binary for your platform: https://github.com/larscom/ranked-searcher/releases
Search in current directory for files containing the terms hello world
$ ranked-searcher "hello world"
Or search inside a given directory (optional)
$ ranked-searcher "hello world" ./some/dir
Example output:
