alyze

Library Listed

High-performance text analysis for full-text search

Checked · Sources

Downloads
68,934
Dependents
1
Stars
133
Forks
16
Contributors
4
Commits
39
Latest release
0.2.0 ·

About

From the project README ·

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):

BenchmarkThroughput
word break529 MiB/s
word break + word_like491 MiB/s
sentence break468 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:

PipelineThroughput
tokenize only (case sensitive)402 MiB/s
+ lowercase375 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.

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.

alyze beside the projects that share a topic with it
ProjectDownloadsDependentsStarsLatest releaseRuns on (GPU)Native codeLicense
alyze This page Listed

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

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
quickwit App Featured

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
tinysearch App Listed

🔍 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
Toshi App Listed Dormant

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 days
  • dormancy: last activity 2026-10-28, 12 days ago, E = 365: active
  • featured: 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
Adoption1 active dependents, 1 new dependents in 365 days1 not measured
Adoption measurements
SignalValueSourceFetchedCounts
Active dependents1crates.io database dumpYes
New dependents (365 days)1crates.io database dumpYes
Peak active dependents1crates.io database dumpYes
Active dependents as a share of the peak1crates.io database dumpYes
Binary downloads per releaseNot measuredYes
MaintenanceLatest human commit: 12 days ago3 not measured
Maintenance measurements
SignalValueSourceFetchedCounts
Latest human commit2026-10-28GitHub repositoryYes
Latest release2026-10-28crates.io database dumpYes
First release2026-04-14crates.io database dumpYes
Latest version0.2.0crates.io database dumpYes
Days the oldest outside issue waits for a reply194GitHub repositoryYes
Maintainer replies over 365 days7GitHub repositoryYes
Repository archivedfalseGitHub repositoryYes
Repository gonefalseGitHub repositoryYes
Release commit or manifest in the repotruecrates.io packageYes
Published docstruecrates.io database dumpYes
Latest release fails cargo checkNot measuredYes
Build check dateNot measuredYes
Build check toolchainNot measuredYes
SecurityUnpatched vulnerabilities: none
Security measurements
SignalValueSourceFetchedCounts
Unpatched vulnerabilities past the grace windownoneRustSec advisory databaseYes
RustSec unmaintained advisorynoneRustSec advisory databaseYes
Deprecation noticenonecrates.io database dumpYes
Deprecated requirementnonecrates.io database dumpYes
Distribution7 releases, 68,934 downloads over 30 days5 not measured
Distribution measurements
SignalValueSourceFetchedCounts
Releases7crates.io database dumpYes
Downloads over 30 days68934crates.io database dumpYes
Binary downloads over the last 3 releasesNot measuredYes
Homebrew installs on request over 365 daysNot measuredYes
Repology repository familiesNot measuredYes
Docker pull growth over 90 daysNot measuredYes
Docker pulls at the growth baselineNot measuredYes
Every version a prereleasefalsecrates.io database dumpYes
Every version 0.0.xfalsecrates.io database dumpYes
Every version yankedfalsecrates.io database dumpYes
Crate deleted from crates.iofalsecrates.io database dumpYes
Repository133 stars, 16 forks, 4 contributors, 39 commits. Stars alone never qualify a project.
Repository measurements
SignalValueSourceFetchedCounts
GitHub stars133GitHub repositoryYes — one part of the repository route
GitHub forks16GitHub repositoryYes — one part of the repository route
Contributors with a GitHub account4GitHub contributorsYes — one part of the repository route
Commits on the default branch39GitHub repositoryNo
Repository's main crate left out of the entrynonecrates.io database dumpYes
Facts that never count
Facts that never count measurements
SignalValueSourceFetchedCounts
LicenseMIT AND Apache-2.0crates.io database dumpNo
Runs on, from listed crates and their direct dependenciesGPU support unknowncrates.io database dumpNo
What shows each backendno dependency or feature matches a backend rowcrates.io database dumpNo
Native code, from listed crates and their dependenciesNo native code foundcrates.io database dumpNo
Python bindings, from direct dependencies of listed cratesNo Python binding crate foundcrates.io database dumpNo
Crates that depend on a listed crate directly1crates.io database dumpNo

Corrections and review history

Report a correction

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.