A small in-memory fuzzy search index for embedded autocomplete and search suggestions.
Rust
190
54 commits
updated May 6, 2026
simsearchA small in-memory fuzzy search index for embedded autocomplete and search suggestions.
Add the following to your Cargo.toml:
[dependencies]
simsearch = "0.4"
use simsearch::Index;
let mut engine: Index<u32> = Index::new();
engine.insert(1, "Things Fall Apart");
engine.insert(2, "The Old Man and the Sea");
engine.insert(3, "James Joyce");
let results = engine.search("thngs");
assert_eq!(results[0].id, 1);
assert!(results[0].score > 0.0);
You can also try the interactive demo:
cargo run --release --example books
Contributions are welcome.
Licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).
Rust
100.0%
A small in-memory fuzzy search index for embedded autocomplete and search suggestions.
Rust
190
54 commits
updated May 6, 2026
simsearchA small in-memory fuzzy search index for embedded autocomplete and search suggestions.
Add the following to your Cargo.toml:
[dependencies]
simsearch = "0.4"
use simsearch::Index;
let mut engine: Index<u32> = Index::new();
engine.insert(1, "Things Fall Apart");
engine.insert(2, "The Old Man and the Sea");
engine.insert(3, "James Joyce");
let results = engine.search("thngs");
assert_eq!(results[0].id, 1);
assert!(results[0].score > 0.0);
You can also try the interactive demo:
cargo run --release --example books
Contributions are welcome.
Licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).
Rust
100.0%