Tantivy logo

Tantivy

Ultra-fast full-text search engine library written in Rust
2
3
+ 1
3

What is Tantivy?

It is a full-text search engine library inspired by Apache Lucene and written in Rust. 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 a tool in the Search Tools category of a tech stack.
Tantivy is an open source tool with 6.5K GitHub stars and 383 GitHub forks. Here’s a link to Tantivy's open source repository on GitHub

Who uses Tantivy?

Companies

Developers
Pros of Tantivy
2
Fast
1
Customizable

Tantivy's Features

  • Full-text search
  • Configurable tokenizer (stemming available for 17 Latin languages with third party support for Chinese, Japanese, and Korean
  • Fast
  • Tiny startup time (<10ms), perfect for command line tools
  • BM25 scoring (the same as Lucene)
  • Natural query language
  • Phrase queries search (e.g. "michael jackson")
  • Incremental indexing
  • Multithreaded indexing (indexing English Wikipedia takes < 3 minutes on a desktop)
  • Mmap directory
  • SIMD integer compression when the platform/CPU includes the SSE2 instruction set
  • LZ4 compressed document store
  • Range queries
  • Faceted search
  • Configurable indexing (optional term frequency and position indexing)

Tantivy Alternatives & Comparisons

What are some alternatives to Tantivy?
Algolia
Our mission is to make you a search expert. Push data to our API to make it searchable in real time. Build your dream front end with one of our web or mobile UI libraries. Tune relevance and get analytics right from your dashboard.
Solr
Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, near real-time indexing, dynamic clustering, database integration, rich document (e.g., Word, PDF) handling, and geospatial search. Solr is highly reliable, scalable and fault tolerant, providing distributed indexing, replication and load-balanced querying, automated failover and recovery, centralized configuration and more. Solr powers the search and navigation features of many of the world's largest internet sites.
Elastic
Elastic is an Elasticsearch client for the Go programming language.
Dejavu
dejaVu fits the unmet need of being a hackable data browser for Elasticsearch. Existing browsers were either built with a legacy UI and had a lacking user experience or used server side rendering (I am looking at you, Kibana).
Mirage
The Elasticsearch query DSL supports 100+ query APIs ranging from full-text search, numeric range filters, geolocation queries to nested and span queries. Mirage is a modern, open-source web based query explorer for Elasticsearch.
See all alternatives
Related Comparisons
No related comparisons found

Tantivy's Followers
3 developers follow Tantivy to keep up with related blogs and decisions.