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
- fix spelling mistakes in users' search queries automatically
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
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
Typesense Cloud
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
Capabilities
| Has an API | plan not known |
|---|---|
| Has official SDKs | plan not known |
| Has single sign-on | plan not known |
Alternatives
The same job
These do what Typesense does.
- Meilisearch A lightning-fast search engine that fits effortlessly into your apps, websites, and workflow
- Sonic Fast, lightweight, schema-less search backend
- Manticore Search Fast open source search database for full-text, vector and hybrid search, an Elasticsearch alternative
- ZincSearch A lightweight alternative to Elasticsearch that requires minimal resources, written in Go
- Elasticsearch Open source search, analytics, and AI platform
- Algolia AI search and discovery: hosted search, recommendations and agents through an API
