Tantivy: a Lucene-inspired full-text search library with a 10ms startup time

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Rust developers can embed real full-text search in apps without running an Elasticsearch server, getting 10ms startup instead of a managed search cluster.

Read this as

Tantivy is a free, open-source software library for full-text search, meaning it lets programs search through large amounts of text quickly. Unlike Elasticsearch, which is a separate server that must be installed and kept running, Tantivy is a component you plug directly into an application, and it starts in about 10 milliseconds. Built by the Quickwit team using the Rust programming language, it suits command-line tools, desktop apps, and small services.

Tantivy is an open-source, Rust-based search library from the Quickwit team that removes the operational cost of running a dedicated search server like Elasticsearch or Solr. It is embedded as a dependency rather than deployed as a cluster, cutting infrastructure for small services and CLI tools. It deliberately does not support distributed search; teams needing sharding across machines are pointed to Quickwit itself.

Tantivy is a Lucene-inspired full-text search crate in Rust using BM25 scoring, memory-mapped files, SIMD integer compression, and LZ4/Zstd-compressed document storage. It indexes English Wikipedia in under 3 minutes on a desktop and starts in ~10ms, supporting text, numeric, date, IP, JSON and faceted fields plus stemmers for 17 Latin languages and third-party CJK tokenizers. It excludes distributed search by design, delegating that to Quickwit.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Tantivy Quickwit Apache Lucene Elasticsearch Rust OpenSSF

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading