Software Alternatives, Accelerators & Startups

Tantivy VS Lucene

Compare Tantivy VS Lucene and see what are their differences

Tantivy logo Tantivy

🐎 On average 2x faster than Lucene 🔎 Full-text search ⚙️ Configurable tokenizer (stemming available for 17 languages) 🚀 Tiny startup time (<10ms) ⌨️ Natural and Phrase Queries ䷴ Range Queries 🛠 Incremental Indexing 💨 Multi-threaded Indexing 🔩 JSON F…

Lucene logo Lucene

Search Engines
  • Tantivy Landing page
    Landing page //
    2023-08-24
  • Lucene Landing page
    Landing page //
    2023-10-01

Tantivy videos

LNX: Using Tantivy to Build One of the Fastest Search Engines Around | Harrison, Software Engineer

More videos:

  • Review - tantivy-search/tantivy - Grource visualisation

Lucene videos

Lucene Indexing Tutorial | Solr Indexing Tutorial | Search Engine Indexing | Solr Tutorial |Edureka

More videos:

  • Review - Lucene Search Essentials: Scorers, Collectors and Custom Queries, Mikhail Khludnev
  • Review - Television News Search and Analysis with Lucene/Solr

Category Popularity

0-100% (relative to Tantivy and Lucene)
Search Engine
52 52%
48% 48
Custom Search Engine
25 25%
75% 75
Open Source
100 100%
0% 0
Custom Search
0 0%
100% 100

User comments

Share your experience with using Tantivy and Lucene. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Tantivy might be a bit more popular than Lucene. We know about 28 links to it since March 2021 and only 21 links to Lucene. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Tantivy mentions (28)

  • Rank Fusion for improved code context
    Fun fact: We've implemented binary embedding search [1] without the need for a specialized vector database. Instead, we create dimensional tokens like 'embedding_0_0', 'embedding_1_0', and so on, and we harness the robust capabilities of Tantivy [2]. We're really satisfied with the exceptional quality and performance this approach yields. Moreover, Tabby remains a single binary, integrating all these components... - Source: Hacker News / 17 days ago
  • Tantivy – full-text search engine library inspired by Apache Lucene
    | Hm, I am interested, but I would love to use it as a rust lib and just have rust types instead of some json config... Yes that's how you use tantivy normally, not sure which json config you mean. `tantivy-cli` is more like a showcase, https://github.com/quickwit-oss/tantivy is the actual project. - Source: Hacker News / about 1 month ago
  • What is Hybrid Search?
    Tantivy - a full-text indexing library written in Rust. Has a great Performance and featureset. - Source: dev.to / 5 months ago
  • RAG Using Unstructured Data and Role of Knowledge Graphs
    By this I presume you mean build a search index that can retrieve results based on keywords? I know certain databases use Lucene to build a keyword-based index on top of unstructured blobs of data. Another alternative is to use Tantivy (https://github.com/quickwit-oss/tantivy), a Rust version of Lucene, if building search indices via Java isn't your cup of tea... - Source: Hacker News / 5 months ago
  • Show HN: Quickwit – OSS Alternative to Elasticsearch, Splunk, Datadog
    We also implemented our schemaless columnar storage optimized for object storage. The inverted index and columnar storage are part of tantivy [0], which is the fastest search library out there. We maintain it and we decided to build the distributed engine on top of it. [0] tantivy github repo: https://github.com/quickwit-oss/tantivy. - Source: Hacker News / 6 months ago
View more

Lucene mentions (21)

  • YaCy, a distributed Web Search Engine, based on a peer-to-peer network
    There are already many project about search: - https://www.marginalia.nu/ - https://searchmysite.net/ - https://lucene.apache.org/ - elastic search - https://presearch.com/ - https://stract.com/ - https://wiby.me/ I think that all project are fun. I would like to see one succeeding at reaching mainstream level of attention. I have also been gathering links meta data for some time. Maybe I will use them to feed any... - Source: Hacker News / 4 months ago
  • Getting started with Elasticsearch + Python
    Elasticsearch is based on Lucene and is used by various companies and developers across the world to build custom search solutions. - Source: dev.to / 5 months ago
  • Tools to use to query and index data?
    Elastic search is kinda heavyweight infra for a small project. Its built on top of apache lucene (https://lucene.apache.org), which you can use directly. Source: 12 months ago
  • Top metrics for Elasticsearch monitoring with Prometheus
    Elasticsearch is based on Lucene, which is built in Java. This means that monitoring the Java Virtual Machine (JVM) memory is crucial to understand the current usage of the whole system. - Source: dev.to / about 1 year ago
  • Cross data type search that wasn’t supported well using Elasticsearch
    Apache Lucene which seems to have a lot more features than Elasticsearch. Source: about 1 year ago
View more

What are some alternatives?

When comparing Tantivy and Lucene, you can also consider the following products

Quickwit - Open-source &amp; cloud-native log management &amp; analytics

Apache Solr - Solr is an open source enterprise search server based on Lucene search library, with XML/HTTP and...

bloop - Code-search engine for developers

DocFX - A documentation generation tool for API reference and Markdown files!

Algolia - Algolia's Search API makes it easy to deliver a great search experience in your apps & websites. Algolia Search provides hosted full-text, numerical, faceted and geolocalized search.

ElasticSearch - Elasticsearch is an open source, distributed, RESTful search engine.