talira

Typesense

Cutting-edge, in-memory search engine for mere mortals. Knowledge of rocket science optional

open coreGPL-3.0-onlyself-hostablefree

Typesense is an open source, in-memory search engine written in C++ that presents itself as an open source alternative to Algolia and an easier-to-use alternative to Elasticsearch. It gives typo-tolerant search-as-you-type with tunable ranking, synonyms, filtering and faceting, geo search, grouping, merchandising (pinning results), federated search, scoped API keys for multi-tenant data, and vector, semantic and hybrid search with built-in conversational search (RAG). The whole index lives in RAM with a copy of the raw data on disk, and clusters replicate for high availability. The server is GPL-3.0 and ships as a single binary, DEB and RPM packages and Docker images; Typesense Cloud runs dedicated clusters, sized by RAM and nodes, in 26 regions, with SOC 2 Type 2, HIPAA BAAs and SAML SSO. An InstantSearch adapter and DocSearch plug it into existing search UIs.

Ways to install

Hosted for you

Problems it solves

  • self-hosted open source alternative to Algolia for instant search on our site
  • add typo-tolerant search-as-you-type to our app without running Elasticsearch
  • search engine that's easy to run as a single binary and returns results in milliseconds
  • our Algolia bill keeps growing with every search request
  • faceted product search with filters and sorting for a small ecommerce store
  • hybrid keyword and vector search over our product catalog
  • build a RAG chat over our docs on top of the search index
  • give each customer an API key that can only search their own records in a shared index
  • pin certain products to the top of search results for a campaign
  • search nearby places by distance from the user's location
  • drop-in replacement for an InstantSearch UI built for Algolia
  • search for our documentation site that we can host ourselves
  • managed search cluster with no per-record or per-search pricing
  • highly available search cluster that keeps serving when a node fails
  • search service with a HIPAA BAA and SOC 2 report for a healthcare app

View all 16 problems

Features

  • typo tolerance and search-as-you-type
  • tunable query-time ranking and dynamic sorting
  • synonyms
  • filtering and faceting
  • geo search
  • grouping and distinct results
  • merchandising: pin or hide records
  • federated and multi-search
  • vector, semantic and hybrid search
  • built-in conversational search (RAG)
View 7 more
  • scoped API keys for multi-tenant data
  • replication for high availability
  • InstantSearch adapter and DocSearch integration
  • official clients for JavaScript, Python, Ruby and PHP
  • single binary, DEB, RPM and Docker images
  • Typesense Cloud: dedicated clusters in 26 regions, Search Delivery Network, GPU acceleration
  • Typesense Cloud: SAML SSO at no extra charge

Limitations

  • Doesn't search indexes bigger than RAM: the whole index is kept in memory, typically needing 2-3x the size of the searchable fields2
  • No native Windows build: on Windows it runs under WSL or Docker3

Ways to run it

Typesense

You run it, GPL-3.0-only

free23

Not included

  • the Search Delivery Network
  • SOC 2 report and HIPAA BAA

You arrange

  • servers with enough RAM to hold the whole index (typically 2-3x the size of the searchable fields)
  • at least 2 vCPUs per node
  • three or more nodes for high availability
  • backups

Self-hosting docs

Typesense Cloud

Hosted by Typesense

priced by cluster configuration (RAM, vCPUs, nodes, high availability); free cluster to start45

Only in this edition

  • dedicated clusters in 26 regions
  • Search Delivery Network
  • GPU acceleration in some configurations
  • SOC 2 Type 2 and HIPAA BAA
  • SAML SSO

Pricing

Capabilities

Has an APIplan not known
Has official SDKsplan not known
Has single sign-onplan not known

Alternatives

The same job

These do what Typesense does.

  1. Meilisearch A lightning-fast search engine that fits effortlessly into your apps, websites, and workflow
  2. Sonic Fast, lightweight, schema-less search backend
  3. Manticore Search Fast open source search database for full-text, vector and hybrid search, an Elasticsearch alternative
  4. ZincSearch A lightweight alternative to Elasticsearch that requires minimal resources, written in Go
  5. Elasticsearch Open source search, analytics, and AI platform
  6. Algolia AI search and discovery: hosted search, recommendations and agents through an API

Compare Typesense with the top 3