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

noise

> 编程语言
开源

嵌套对象逆向搜索引擎

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

工具介绍

嵌套对象逆向搜索引擎

Noise

Nested Object Inverted Search Engine

This is a native library meant to be linked into other projects and will expose a C API.

It's a full text index and query system that understands the semi structured nature of JSON, and will allow:

  • Stemmed word/fuzzy match
  • Case sensitive exact word and sentence match
  • Arbitrary boolean nesting
  • Greater than/less than matching

Query Language Reference here

Installation

Dependencies

  • RocksDB
  • capnp-tool

Build

cargo build

Running tests

cargo test

Storage backends

The search engine is generic over its storage backend. The reference backend is RocksDB, provided by the noise-storage-rocksdb crate, which also ships a repl-rocksdb example (run it with cargo run --example repl-rocksdb -p noise-storage-rocksdb).

A backend is any type implementing the traits in the noise-storage crate: BackendDatabase, BackendBatch, BackendSnapshot and CursorBackend. To
plug in your own, implement those traits in your own crate and use the generic engine types directly, with no changes to this repository:

use noise_search::index::{Index, OpenOptions};

let mut index = Index::::open("mydb", Some(OpenOptions::Create))?;

The engine crate noise_search depends only on noise-storage.

noise-storage-rocksdb is the reference implementation to model a backend on. To check your backend against the suite every backend must pass, add noise-tests as a dev-dependency and invoke its macro from a test (as noise-storage-rocksdb does in tests/backend.rs):

noise_tests::noise_backend_tests!(MyBackend);

Contributing

Commit messages

Commit messages are important as soon as you need to dig into the history of certain parts of the system. Hence please follow the guidelines of How to Write a Git Commit Message.

License

Licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

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

> 标签

Rust

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

> 工具信息

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

> 相关工具

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