finds.dev

quickwit-oss/tantivy

Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust

View on GitHub

★ 16,376RustMITupdated Oct 2026

// the take

A Rust library for building full-text search, modeled closely on Lucene's architecture rather than on Elasticsearch/Solr — you embed it in your own service rather than running it as one. Good fit for Rust projects that want Lucene-grade search primitives without a JVM or a separate search cluster; it's also the core that Quickwit is built on.

BM25 scoring, phrase/range/faceted queries, and a real aggregation framework (histograms, stats, cardinality) put it well ahead of most 'search library' alternatives in feature depth. Mmap-based segments plus SIMD integer compression and multithreaded indexing give it startup times under 10ms and throughput that's genuinely competitive with Lucene in their own benchmarks. The columnar/fast-field storage is a solid design choice for analytics-style queries on top of text search, and it's proven in production (Quickwit, ParadeDB, Element).

Documents are immutable — any edit is a delete-and-reindex, which is a real cost for workloads with frequent updates rather than pure append. There's no distributed story at all; that's explicitly punted to Quickwit, so if you need sharding or replication you're adopting a second, much younger project. It's a library, not a service: no REST API, no query DSL server, no auth — tantivy-cli exists but is a thin, separately-maintained wrapper, so you're building and operating all of that yourself. Search freshness also has a sharp edge: a commit doesn't make documents visible until readers are explicitly reloaded, which trips people up coming from systems with implicit near-real-time visibility.

We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →

search the same ground:

// at a glance

Stars
16,376
Forks
1,031
Language
Rust
License
MIT
Last commit
30 Oct 2026

// nearby

If tantivy isn't quite it.

All repos →