Typesense is a search engine for building site and app search with typo tolerance, faceting, geo search, and semantic or hybrid search via a REST API.
Overview
Typesense is an open-source search engine aimed at fast, typo-tolerant search experiences. It handles typographical errors out of the box and exposes collections, indexing, and queries through a documented REST API with official clients in several languages.
You can run the server with Docker, native binaries, or RPM or DEB packages, or provision a cluster through Typesense Cloud. Query-time parameters can set fields to search, facet, group, rank, and sort, often with a single index rather than separate indices per sort order.
Capabilities described in the materials include autocomplete, spell checking, synonyms, filtering and faceting, geo search, federated search, vector and semantic search, merchandising pins, grouping and distinct results, scoped multi-tenant API keys, and replication for high availability. Search UI work can use an InstantSearch.js adapter.
The server is built as a self-contained native binary in C++, and a fresh instance starts with a small memory footprint that grows as documents are indexed. Framework integrations and community clients are listed for languages beyond the official set.
Compared in the documentation to Elasticsearch and Algolia, Typesense is positioned as lighter to set up and operate for product search, while remaining closer in spirit to Algolia for developer-facing search UX. Some hosted Algolia features such as personalization and server-based search analytics are noted as not present yet.
Key features
- Typo-tolerant full-text search
- Query-time ranking and sorting
- Faceting filtering and geo search
- Vector and semantic search
- REST API and official clients
- Docker and native binary installs
- InstantSearch.js adapter
- Scoped multi-tenant API keys
Use cases
- Site search on large catalogs
- E-commerce browse and search UIs
- Recipe book and media datasets
- Spellcheck and autocomplete
- Semantic search on comment corpora
Open-source alternative to
Algolia“Typesense is an open source search API and Algolia alternative” source
PPinecone“Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch” source
Does the same job as
Typesense doesn't name these products itself, but its own description shows it does the same job.