百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

simsearch

> 编程语言
开源

一个小型内存模糊搜索索引,用于嵌入式自动完成和搜索建议。

191 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个小型内存模糊搜索索引,用于嵌入式自动完成和搜索建议。

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

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