Sphinx VS Typesense

Compare Sphinx vs Typesense and see what are their differences.

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
Sphinx Typesense
12 131
1,783 18,173
0.2% 3.8%
0.0 9.8
5 months ago 3 days ago
C++ C++
GNU General Public License v3.0 only 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.

Sphinx

Posts with mentions or reviews of Sphinx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-06.
  • Searchcode – search 75B lines of code from 40M projects
    1 project | news.ycombinator.com | 9 Apr 2024
  • Revisiting site search + SQLite as a search engine
    2 projects | dev.to | 6 Apr 2023
    Sphinx - https://sphinxsearch.com
  • Best 5 Ecommerce Search Engines for Developers
    4 projects | dev.to | 23 Feb 2023
    Sphinx is a search engine that can be integrated into a website to provide advanced search functionality such as full-text, Boolean, and faceted search. It is a powerful open-source search engine that can handle large amounts of data and quickly return results.
  • Question about embedding for search vs clustering applications
    1 project | /r/GPT3 | 21 Feb 2023
    Have been using Sphinx. It does some processing around suffixes, tenses, and so on, and looks at word proximity (BM25), but is definitely limited.
  • grep like search with preprocessing
    4 projects | /r/linux | 12 Dec 2022
    Lucene is the thing you think you need. Elastic Search is a nice wrapper for it. But these are Java, so maybe you want Sphinx Search (C++) or MeiliSearch (Rust).
  • Search MySQL table for multiple keywords and return number of occurrences for each keyword per row
    1 project | /r/PHPhelp | 7 Aug 2022
    Using a natural language search will almost certainly be a better solution and PHP may not be the best tool for this task. Figure out how you are going to get the text out of the PDF and where you are going to put it. Look at things like sphinx and full text search in boolean mode for doing the keyword matching.
  • How to do a Scryfall-like search?
    1 project | /r/howdidtheycodeit | 29 Jul 2022
    In practice though you don't do any of this, you get a library to do it for you. I've used Sphinx Search in the past for some fairly hefty (In the order of terabytes), and there's a good book covering how to get it all set up and started.
  • Manticore: a faster alternative to Elasticsearch in C++ with a 21-year history
    2 projects | dev.to | 28 Jul 2022
    Five years ago Manticore began as a fork of an open source version of the once popular search engine Sphinx Search. We had two bags of grass, seventy-five pellets of mescaline, three C++ developers, a support engineer, a power user of Sphinx Search / backend team lead, an experienced manager, a mother of five helping us part-time, and a ton of bugs, crashes, and technical debts. So we got a shovel and other digging tools and started working to get it up to the search engine industry standards. Not that Sphinx was impossible to use, but many things were missing, and existing features weren’t quite stable or mature. And we had pushed it about as far as we could. So after 5 years and hundreds of new users, we’re ready to say that Manticore Search can be used as an alternative to Elasticsearch for both full-text search and (now) data analytics too.
  • Remarkable update 2.14
    1 project | /r/RemarkableTablet | 31 May 2022
    Finally if you really want a full fledged solution the most popular are good old Sphinx http://sphinxsearch.com or Apache Solr https://solr.apache.org but as these take a bit of time to setup I'd make sure that's truly needed. Chances are unless your collection is the size of the Library of Congress you are probably fine with ripgrep on your own indexes as text or some R package or sqlite FTS5 extension https://www.sqlite.org/fts5.html
  • Vinted Search Scaling Chapter 6: 4th generation of Elasticsearch metrics
    6 projects | dev.to | 21 Dec 2021
    An old fact from 2014 December 12th was significant for Vinted: the company switched from Sphinx search engine to Elasticsearch 1.4.1. At the time of writing this post, we use Elasticsearch 7.15. Without a doubt, a lot has happened in between. This chapter will focus on Elasticsearch metrics, we will share our accumulated experiences from four generations of collecting metrics.

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 Sphinx and Typesense you can also consider the following projects:

rust-prometheus - Prometheus instrumentation library for Rust applications

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

manticoresearch - Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon

Elasticsearch - Free and Open, Distributed, RESTful Search Engine

remarkable-hacks - additional functionality via binary patching

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

elasticsearch-rs - Official Elasticsearch Rust Client

meilisearch-laravel-scout - MeiliSearch integration for Laravel Scout

tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

loki - Like Prometheus, but for logs.

elasticsearch-exporter-rs - Proper Elasticsearch exporter

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