quickwit-oss /tantivy

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

★ 16,441⑂ 1,050👁 138⑃ 2,097● 1,159▤ 49
RustMITCreated 2016-01-11
TA的项目
下载:Tantivy v0.26.1Tantivy-0.26.1 ↓0.26.12026-05-10
+2
日增长
16,441
stars
1,050
forks
138
watchers
2,097
prs
1,159
issues
49
releases

README

Fast full-text search engine library written in Rust

If you are looking for an alternative to Elasticsearch or Apache Solr, check out Quickwit, our distributed search engine built on top of Tantivy.

Tantivy is closer to Apache Lucene than to Elasticsearch or Apache Solr in the sense it is not
an off-the-shelf search engine server, but rather a crate that can be used to build such a search engine.

Tantivy is, in fact, strongly inspired by Lucene's design.

 Benchmark

The following benchmark breaks down the
performance for different types of queries/collections.

Your mileage WILL vary depending on the nature of queries and their load.

Details about the benchmark can be found at this repository.

 Features

- Full-text search
- Configurable tokenizer (stemming available for 17 Latin languages) with third party support for Chinese (tantivy-jieba and cang-jie), Japanese (lindera, Vaporetto, and tantivy-tokenizer-tiny-segmenter) and Korean (lindera + lindera-ko-dic-builder)
- Fast (check out the :racehorse: :sparkles: benchmark :sparkles: :racehorse:)
- Tiny startup time (
  
  
  


  
   



 FAQ

 Can I use Tantivy in other languages?

- Python → tantivy-py
- Ruby → tantiny

You can also find other bindings on GitHub but they may be less maintained.

 What are some examples of Tantivy use?

- seshat: A matrix message database/indexer
- tantiny: Tiny full-text search for Ruby
- lnx: adaptable, typo tolerant search engine with a REST API
- Bichon: A lightweight, high-performance Rust email archiver with WebUI
- and more!

 On average, how much faster is Tantivy compared to Lucene?

- According to our search latency benchmark, Tantivy is approximately 2x faster than Lucene.

 Does tantivy support incremental indexing?

- Yes.

 How can I edit documents?

- Data in tantivy is immutable. To edit a document, the document needs to be deleted and reindexed.

 When will my documents be searchable during indexing?

- Documents will be searchable after a commit is called on an IndexWriter. Existing IndexReaders will also need to be reloaded in order to reflect the changes. Finally, changes are only visible to newly acquired Searcher.

Top issues

Discussions

Latest release

Tantivy v0.26.1 0.26.1 2026-05-10
What's Changed
 chore: Release by @PSeitz in https://github.com/quickwit-oss/tantivy/pull/2686
 update release instructions by @PSeitz-dd in https://github.com/quickwit-oss/tantivy/pull/2687
 feat: Regex query grammar by @Darkheir in https://github.com/quickwit-oss/tantivy/pull/2677
 Update CHANGELOG.md for bugfixes by @PSeitz in https://github.com/quickwit-oss/tantivy/pull/2674
 This PR changes the logic used on the ingestion of floats. by @fulmicoton in https://github.com/quickwit-oss/tantivy/pull/2692
 Add fast field fallback for term query if not indexed by @PSeitz-dd in https://gith

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON