tantivy VS Typesense

Compare tantivy vs Typesense and see what are their differences.

tantivy

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

Typesense

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences (by typesense)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
tantivy Typesense
48 131
9,955 18,107
2.2% 3.4%
9.1 9.8
7 days ago 2 days ago
Rust C++
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tantivy

Posts with mentions or reviews of tantivy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-22.
  • SeekStorm VS tantivy - a user suggested alternative
    2 projects | 22 Mar 2024
  • What is Hybrid Search?
    6 projects | dev.to | 6 Feb 2024
    Tantivy - a full-text indexing library written in Rust. Has a great performance and featureset.
  • Tantivy – Fast, OSS full-text search library in Rust
    1 project | news.ycombinator.com | 20 Jan 2024
  • RAG Using Unstructured Data and Role of Knowledge Graphs
    4 projects | news.ycombinator.com | 17 Jan 2024
    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 :)

    Both libraries offer multilingual support for keywords, I believe, so that's a benefit to vector search where multilingual embedding models are rather expensive.

  • Show HN: Quickwit – OSS Alternative to Elasticsearch, Splunk, Datadog
    4 projects | news.ycombinator.com | 7 Jan 2024
    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

  • Pg_bm25: Elastic-Quality Full Text Search Inside Postgres
    6 projects | news.ycombinator.com | 8 Oct 2023
    The issue for geo search is here: https://github.com/quickwit-oss/tantivy/issues/44
  • Grimoire - A recipe management application.
    7 projects | /r/rust | 5 Oct 2023
    Search index : Custom-built using tantivy.
  • A Compressed Indexable Bitset
    6 projects | news.ycombinator.com | 1 Jul 2023
    The roaring bitmap variant is used only for the optional index (1 docid => 0 or 1 value) in the columnar storage (DocValues), not for the inverted index. Since this is used for aggregation, some queries may be a full scan.

    The inverted index in tantivy uses bitpacked values of 128 elements with a skip index on top.

    > I didn't follow the rest of your comment, select is what EF is good at, every other data structure needs a lot more scanning once you land on the right chunk. With BMI2 you can also use the PDEP instruction to accelerate the final select on a 64-bit block

    The select for the sparse codec is a [simple array index access](https://github.com/quickwit-oss/tantivy/blob/main/columnar/s...), that is hard to beat. Compression is not good near the 5k threshold though.

  • Job: Rust + Retrieval Systems at Etsy
    2 projects | /r/rust | 23 Jun 2023
    Hi /r/rust, I’m a SWE on Etsy’s Retrieval Systems team where we’re building a platform based on rust and tantivy (https://github.com/quickwit-oss/tantivy). We’re looking to bring two new engineers onto the team.
  • Announcing Velo - Your Rust-Powered Brainstorming and Note-Taking Tool
    4 projects | /r/rust | 19 Jun 2023
    Quick Search: Easily find specific notes with Velo's fuzzy-search feature, powered by tantivy. tantivy might have been a little overkill, but it was really easy to integrate.

Typesense

Posts with mentions or reviews of Typesense. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-03.
  • FlowDiver: The Road to SSR - Part 1
    3 projects | dev.to | 3 May 2024
    Disregarding props-drilling technique in favor of a more reliable and elegant solution we looked for inspiration elsewhere. Another project of ours .find was using Typesense/Algolia components, which looked a bit like black-box/magic, but at the same time provided a clean approach to build complex and highly customizable solutions.
  • Release Radar · April 2024 Edition: Major updates from the open source community
    12 projects | dev.to | 3 May 2024
    Have you ever tried to look up something, only to realise your search engine doesn't recognise your typos? Typesense to the rescue! It's a fast, typo-tolerant search engine built for an easier browsing experience. The latest version comes with new features such as built-in conversational search, image search, voice search, analytics, and more. Dive into the release notes for the full list of changes and enhancements.
  • Website Search Hurts My Feelings
    2 projects | news.ycombinator.com | 26 Dec 2023
    There are actually plenty of non-ES products that are way easier to integrate and tune (and get better results with less effort).

    - Typesense (https://github.com/typesense/typesense)

    - Algolia

    - Google Programmable Search Engine (https://programmablesearchengine.google.com/about/)

  • Remote Machine Learning and Searching on a Raspberry Pi 5
    2 projects | /r/immich | 11 Dec 2023
  • Open Source alternatives to tools you Pay for
    21 projects | dev.to | 8 Dec 2023
    Typesense - Open Source Alternative to Algolia
  • DNS record "hn.algolia.com" is gone
    3 projects | news.ycombinator.com | 9 Oct 2023
    If you like your penny take a look at Typesense https://typesense.org/ - nothing to complain here. Especially nothing complain about pricing.
  • Vector databases: analyzing the trade-offs
    5 projects | news.ycombinator.com | 20 Aug 2023
    I work on Typesense [1] (historically considered an open source alternative to Algolia).

    We then launched vector search in Jan 2023, and just last week we launched the ability to generate embeddings from within Typesense.

    You'd just need to send JSON data, and Typesense can generate embeddings for your data using OpenAI, PaLM API, or built-in models like S-BERT, E-5, etc (running on a GPU if you prefer) [2]

    You can then do a hybrid (keyword + semantic) search by just sending the search keywords to Typesense, and Typesense will automatically generate embeddings for you internally and return a ranked list of keyword results weaved with semantic results (using Rank Fusion).

    You can also combine filtering, faceting, typo tolerance, etc - the things Typesense already had.

    [1] https://github.com/typesense/typesense

    [2] https://typesense.org/docs/0.25.0/api/vector-search.html

  • Creating an advanced search engine with PostgreSQL
    9 projects | news.ycombinator.com | 12 Jul 2023
    For something small with a minimal footprint, I'd recommend Typesense. https://github.com/typesense/typesense
  • Obsidian Publish full text search
    1 project | /r/ObsidianMD | 28 Jun 2023
    I haven’t used Publish, but I’d assume you could use something like https://typesense.org/ to index and search the vault.
  • DynamoDB search options
    1 project | /r/aws | 18 May 2023
    A cheaper option would be to use https://typesense.org. You can use DynamoDb streams to automatically load records. It has worked well for me.

What are some alternatives?

When comparing tantivy and Typesense you can also consider the following projects:

sonic - 🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.

MeiliSearch - A lightning-fast search API that fits effortlessly into your apps, websites, and workflow

surrealdb - A scalable, distributed, collaborative, document-graph database, for the realtime web

Elasticsearch - Free and Open, Distributed, RESTful Search Engine

milli - Search engine library for Meilisearch ⚡️

Apache Solr - Apache Lucene and Solr open-source search software

meilisearch-laravel-scout - MeiliSearch integration for Laravel Scout

quickwit - Cloud-native search engine for observability. An open-source alternative to Datadog, Elasticsearch, Loki, and Tempo.

loki - Like Prometheus, but for logs.

fselect - Find files with SQL-like queries