Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

simsearch

> 编程语言
Open source

A small in-memory fuzzy search index for embedded autocomplete and search suggestions.

191 stars0 likes0 views
WebsiteGitHub

About

A small in-memory fuzzy search index for embedded autocomplete and search suggestions.

simsearch

A small in-memory fuzzy search index for embedded autocomplete and search suggestions.

Documentation

Usage

Add the following to your Cargo.toml:

toml
[dependencies]
simsearch = "0.4"

Example

rust
use simsearch::Index;

let mut engine: Index = 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:

bash
cargo run --release --example books

Contributing

Contributions are welcome.

  • Issues. Open an issue if you find a typo, hit a bug, or have a question.
  • Pull requests. New collections, implementation improvements, tests, documentation, and typo fixes are welcome.

License

Licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言