Download Latest Version tinysearch-v0.11.0-x86_64-pc-windows-msvc.zip (578.4 kB)
Email in envelope

Get an email when there's a new version of tinysearch

Home / v0.11.0
Name Modified Size InfoDownloads / Week
Parent folder
tinysearch-v0.11.0-aarch64-apple-darwin.tar.gz 2026-08-14 661.2 kB
tinysearch-v0.11.0-x86_64-apple-darwin.tar.gz 2026-08-14 686.7 kB
tinysearch-v0.11.0-x86_64-pc-windows-msvc.zip 2026-08-14 578.4 kB
tinysearch-v0.11.0-x86_64-unknown-linux-gnu.tar.gz 2026-08-14 746.4 kB
README.md 2026-08-14 2.2 kB
Version 0.11.0 source code.tar.gz 2026-08-14 345.5 kB
Version 0.11.0 source code.zip 2026-08-14 370.1 kB
Totals: 7 Items   3.4 MB 0

This release of tinysearch adds a completely new indexing algorithm: a compact exact inverted index designed to make search feel immediate.

Compared with the probabilistic Xor8 backend, the new default stores exact postings and supports prefix matching across titles, body text, and metadata. Once a query term reaches three characters, tinysearch can return useful results while the user is still typing. Exact postings also remove the compounded false positives inherent in probabilistic filters.

That richer behavior has a size cost, but the compressed difference stays modest. On my endler.dev corpus:

Indexer Storage Optimized WASM gzip -9 Brotli q11
Previous Xor8 38,078 B 129,298 B 72,798 B 65,018 B
Current Xor8 38,078 B 136,309 B 75,155 B 66,942 B
New exact default 95,676 B 178,911 B 83,003 B 71,798 B

Compared with the current Xor8 build, the exact index adds 7,848 bytes after gzip or 4,856 bytes after Brotli. In return, searches get immediate partial-word matches across every indexed field and exact matching semantics.

Xor8 remains fully supported and is still a good choice when the smallest possible artifact matters more than body and metadata prefix search. Select it with --indexer xor8 in the CLI or IndexKind::Xor8 in the library. Existing Xor8 storage files remain readable.

The indexing API is more explicit as well. SearchIndex is now opaque, backend construction uses the IndexBackend trait with ExactIndexBackend and Xor8IndexBackend, and building and serialization are separate steps:

:::rust
let index = search.build_index(&posts)?;
let bytes = search.serialize_index(&index)?;

build_and_serialize_index remains available as a deprecated compatibility helper.

The generated WASM demo now updates search results and suggestions while typing. This release also tightens the lint policy, hardens compact-index decoding, updates dependencies and CI maintenance, and teaches the WASM optimization path about modern bulk-memory modules.

Full changelog: https://github.com/tinysearch/tinysearch/compare/v0.10.0...v0.11.0

Source: README.md, updated 2026-08-14