# quickwit-oss/tantivy

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

Repository: https://github.com/quickwit-oss/tantivy
Canonical: https://ross.abutalabs.com/products/tantivy
Language: Rust
License: MIT
License Family: permissive
Topics: search-engine, rust
Last push: 2026-08-26T12:46:02+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 51, longevity 100
- inputs: {"age_days": 3887, "days_push": 7, "days_rel": 115, "gap_med": 190.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 15992, forks 980 (observed 2026-08-28T04:11:14.619433+00:00)

## What it is
Tantivy is a fast full-text search engine library written in Rust, strongly inspired by Apache Lucene's design. It is a crate for building search functionality into applications rather than an off-the-shelf search server.

## Use cases
- add full-text search to a Rust application
- build a custom search engine server
- index and query documents with BM25 scoring
- implement phrase and boolean query search
- embed fast search in a command-line tool
- build an alternative to Elasticsearch or Solr

## When to choose
- you need a fast, embeddable full-text search engine in Rust
- you want Lucene-like features (BM25, natural query language, phrase queries) without running a separate server
- you need tiny startup time (<10ms) for CLI tools
- you want configurable tokenizers with stemming for many languages

## When to avoid
- you need a ready-made distributed search server out of the box (use Quickwit or Elasticsearch instead)
- your project is not in Rust and you don't want FFI bindings
- you only need simple substring matching without indexing

## Facets
- artifact type: library
- maturity: stable
- function: search-engine, parser
- domain: developer-tools
- platform: rust, cross-platform
- tags: full-text-search, lucene-inspired, bm25, inverted-index, information-retrieval, search, algorithms

## Member repositories
- quickwit-oss/tantivy (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:14.619433+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:05:18.114663+00:00, confidence not recorded.
  - readme: https://github.com/quickwit-oss/tantivy (fetched 2026-08-28T04:11:14.619433+00:00, sha d8d206705066)
  - registry_crates: https://crates.io/api/v1/crates/tantivy (fetched 2026-08-29T08:03:05.413091+00:00, sha f6e0c7f004b1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
