alyze
Library Listed
High-performance text analysis for full-text search
- Downloads
- 68,934
- Dependents
- 1
- Stars
- 133
- Forks
- 16
- Contributors
- 4
- Commits
- 39
- Latest release
- 0.2.0 ·
About
A high-performance tokenization and analysis implementation for full-text search. Provides a UAX #29 compliant tokenizer, implemented with a hand-rolled deterministic finite automaton (DFA). Includes a complete analyzer implementation, with support for lowercasing, ASCII case folding, stemming & stopword removal.
Currently in production at turbopuffer powering the word_v4 tokenizer.
Benchmarks
Throughput over 64 MiB of English Wikipedia article text (cargo bench), running on an M5 Pro.
Numbers are the median of 16 samples.
Tokenization (benches/wikipedia.rs, wikipedia group):
| Benchmark | Throughput |
|---|---|
| word break | 529 MiB/s |
word break + word_like | 491 MiB/s |
| sentence break | 468 MiB/s |
Analysis (benches/wikipedia.rs, analysis group) — each row adds one stage to the pipeline,
so the deltas approximate each filter's marginal cost:
| Pipeline | Throughput |
|---|---|
| tokenize only (case sensitive) | 402 MiB/s |
| + lowercase | 375 MiB/s |
| + stopword removal (English) | 316 MiB/s |
| + stemming (English) | 139 MiB/s |
| full (max length + stopwords + stemming + ASCII fold) | 134 MiB/s |
Reproduce with cargo bench --bench wikipedia (first run downloads the Wikipedia dataset into
.cache/).
Read the full README
CJK analyzers
Enable smartcn (Chinese), nori (Korean), or kuromoji (Japanese) independently, or
use cjk to enable all three. All are disabled by default.
[dependencies]
alyze = { version = "0.2.0", features = ["nori"] }
Enabled analyzers are available under alyze::cjk, for example alyze::cjk::nori.
Only enabled analyzers and their dictionaries are compiled. Published packages download
and verify dictionaries at build time; see offline build instructions.
Use the common analyzer API with any enabled CJK pipeline:
use alyze::analyze::{Analyzer, ReusableBuffer};
let analyzer = Analyzer::nori(Default::default());
let mut buffer = ReusableBuffer::new();
analyzer.analyze("한국어를 분석합니다", &mut buffer, |token| {
println!("{}: {}", token.position, token.text);
true
});
Use Analyzer::smartcn, Analyzer::nori, or Analyzer::kuromoji with the corresponding
options from alyze::cjk. Reuse the buffer across calls; keep any borrowed user dictionaries
or stop lists alive for as long as the analyzer.
Text-match features
The companion alyze-features crate computes query/document text-match signals
(e.g. fieldMatch, elementCompleteness, elementSimilarity, textSimilarity) for use in a
second-stage re-ranker, mirroring
Vespa's rank features so the same
signals are available client-side. It's a separate, Apache-2.0 crate (see below) and lives in this
workspace.
License
alyze contains MIT-licensed code and Apache-2.0-licensed CJK implementations derived from
Apache Lucene. See LICENSE,
LICENSE-APACHE, NOTICE, and the
CJK documentation for dictionary attribution and licensing.
The separate alyze-features crate is Apache-2.0; its features derive from
Vespa, Copyright Vespa.ai.
Compatibility
- Runs on
- GPU support unknown
What shows it
- no dependency or feature matches a backend row
- Native code
- None found
- No native code found
- Python bindings
- No Python binding crate found
- License
- MIT AND Apache-2.0
Compare with similar projects
Order: strongest tier first, then most downloads, then name, with unmeasured values last. A library counts downloads over 30 days. An app counts binary downloads per release. An app with none counts its crate downloads over 30 days. ML Rust runs this catalogue, so its closest project always gets a row.
| Project | Downloads | Dependents | Stars | Latest release | Runs on (GPU) | Native code | License |
|---|---|---|---|---|---|---|---|
|
High-performance text analysis for full-text search |
68,934 downloads over 30 days | 1 | 133 | 0.2.0 | GPU support unknown | No native code found | MIT AND Apache-2.0 |
|
meilisearch-sdk Featured
Rust wrapper for the Meilisearch API. Meilisearch is a powerful, fast, open-source, easy to use and deploy search engine. |
170,111 downloads over 30 days | 16 | 431 | 0.33.0 | GPU support unknown | No native code found | MIT |
|
Cloud-native OSS search engine for observability |
3,936 binary downloads per release | Not applicable | 11,777 | Not measured | Not measured | Apache-2.0 | |
|
regexr Listed
A high-performance regex engine built from scratch with JIT compilation and SIMD acceleration |
8,809 downloads over 30 days | 4 | 28 | 0.6.2 | GPU support unknown | No native code found | Apache-2.0 OR MIT |
|
🔍 Tiny, full-text search engine for static websites built with Rust and Wasm |
147 binary downloads per release | Not applicable | 2,980 | Not measured | Not measured | Apache-2.0 | |
|
A full-text search engine in rust |
Not measured | Not applicable | 4,258 | Not measured | Not measured | Not measured | MIT |
|
infino New
A fast retrieval engine that stores data on object storage and runs SQL, full-text search, and vector search over it from a single system — search-on-Parquet. |
587 downloads over 30 days | 1 | 152 | 0.11.27 | GPU support unknown | Binds native code: zstd-sys, libmimalloc-sys (feature mimalloc) | Apache-2.0 |
Why ListedNo archive, New or Featured rule places it, so it is Listed.
What it lacks for Featured
- It has 1 active dependents and 1 new dependents in 365 days. Featured needs 11 active dependents or 9 new dependents in 365 days. The repository route reads 133 stars, 16 forks and 4 contributors. It needs 4,539 stars, 434 forks and 79 contributors together.
What else the check found
- The last activity is on 28 Oct 2026, 12 days ago. The rules expect an update within 365 days. Dormancy rule
Exact rules: Listed, Featured library. The check on applied thresholds version 9.
Every rule outcome, as the check records it
expected-interval: version 0.2.0 base 80, doubled for 68934 downloads per month, raised to the 365-day floor: E = 365 daysdormancy: last activity 2026-10-28, 12 days ago, E = 365: activefeatured: not featured: active_users 1 < 11 and new_adopters 1 < 9 and repository route stars 133 (needs 4539), forks 16 (needs 434), contributors 4 (needs 79)listed: listed: no archive, new or featured rule applies
Measurements and sources
Each signal row shows the raw value, its source and the fetch date. The Sources list gathers every distinct source on this page. Movement needs more history.
Sources6 sources
- Description: the crates.io description
- crates.io database dump, fetched
- RustSec advisory database, fetched
- GitHub repository, fetched
- crates.io package, fetched
- GitHub contributors, fetched
Adoption1 active dependents, 1 new dependents in 365 days1 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Active dependents | 1 | crates.io database dump | Yes | |
| New dependents (365 days) | 1 | crates.io database dump | Yes | |
| Peak active dependents | 1 | crates.io database dump | Yes | |
| Active dependents as a share of the peak | 1 | crates.io database dump | Yes | |
| Binary downloads per release | Not measured | Yes |
MaintenanceLatest human commit: 12 days ago3 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Latest human commit | 2026-10-28 | GitHub repository | Yes | |
| Latest release | 2026-10-28 | crates.io database dump | Yes | |
| First release | 2026-04-14 | crates.io database dump | Yes | |
| Latest version | 0.2.0 | crates.io database dump | Yes | |
| Days the oldest outside issue waits for a reply | 194 | GitHub repository | Yes | |
| Maintainer replies over 365 days | 7 | GitHub repository | Yes | |
| Repository archived | false | GitHub repository | Yes | |
| Repository gone | false | GitHub repository | Yes | |
| Release commit or manifest in the repo | true | crates.io package | Yes | |
| Published docs | true | crates.io database dump | Yes | |
| Latest release fails cargo check | Not measured | Yes | ||
| Build check date | Not measured | Yes | ||
| Build check toolchain | Not measured | Yes |
SecurityUnpatched vulnerabilities: none
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Unpatched vulnerabilities past the grace window | none | RustSec advisory database | Yes | |
| RustSec unmaintained advisory | none | RustSec advisory database | Yes | |
| Deprecation notice | none | crates.io database dump | Yes | |
| Deprecated requirement | none | crates.io database dump | Yes |
Distribution7 releases, 68,934 downloads over 30 days5 not measured
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| Releases | 7 | crates.io database dump | Yes | |
| Downloads over 30 days | 68934 | crates.io database dump | Yes | |
| Binary downloads over the last 3 releases | Not measured | Yes | ||
| Homebrew installs on request over 365 days | Not measured | Yes | ||
| Repology repository families | Not measured | Yes | ||
| Docker pull growth over 90 days | Not measured | Yes | ||
| Docker pulls at the growth baseline | Not measured | Yes | ||
| Every version a prerelease | false | crates.io database dump | Yes | |
| Every version 0.0.x | false | crates.io database dump | Yes | |
| Every version yanked | false | crates.io database dump | Yes | |
| Crate deleted from crates.io | false | crates.io database dump | Yes |
Repository133 stars, 16 forks, 4 contributors, 39 commits. Stars alone never qualify a project.
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| GitHub stars | 133 | GitHub repository | Yes — one part of the repository route | |
| GitHub forks | 16 | GitHub repository | Yes — one part of the repository route | |
| Contributors with a GitHub account | 4 | GitHub contributors | Yes — one part of the repository route | |
| Commits on the default branch | 39 | GitHub repository | No | |
| Repository's main crate left out of the entry | none | crates.io database dump | Yes |
Facts that never count
| Signal | Value | Source | Fetched | Counts |
|---|---|---|---|---|
| License | MIT AND Apache-2.0 | crates.io database dump | No | |
| Runs on, from listed crates and their direct dependencies | GPU support unknown | crates.io database dump | No | |
| What shows each backend | no dependency or feature matches a backend row | crates.io database dump | No | |
| Native code, from listed crates and their dependencies | No native code found | crates.io database dump | No | |
| Python bindings, from direct dependencies of listed crates | No Python binding crate found | crates.io database dump | No | |
| Crates that depend on a listed crate directly | 1 | crates.io database dump | No |
Corrections and review history
No correction applies to this entry.
Judgments
A judgment enters only through an approved issue and a merged pull request.
No judgment applies to this entry.