Typesense: Typo-Tolerant Search in a Single Binary
Typesense does application search, fast, in one binary, and deliberately does not try to be a log store.
The niche it occupies
Search-as-you-type for a product catalogue, a documentation site, a media library. Results in milliseconds, typo tolerance on by default, faceting and filtering.
That is a different problem from OpenSearch and Elasticsearch, which are general-purpose engines that also do log analytics and need gigabytes of JVM heap. Typesense is a C++ binary with no JVM, and for application search it is dramatically lighter.
Its nearest comparison is Meilisearch, which occupies almost the same niche. The split is largely preference: Meilisearch is Rust with a slightly simpler API, Typesense exposes more control over ranking and supports multi-way joins and vector search.
Defaults that are actually right
Typo tolerance, prefix matching and relevance ranking are on by default and tuned. You create a collection with a schema and start searching; there is no analyser pipeline to configure.
curl -H "X-TYPESENSE-API-KEY: ${KEY}" \
-d '{"name":"books","fields":[{"name":"title","type":"string"},{"name":"year","type":"int32"}]}' \
http://localhost:8108/collections
That matters because relevance tuning in Elasticsearch is a specialism, and most applications do not have one available.
Scoped API keys
A genuinely good feature: you can generate a key that embeds a filter, so a browser can query directly while only ever seeing records it is permitted to.
# key scoped to one tenant, safe to ship to the client
filter_by: tenant_id:=42
That removes the usual requirement to proxy every search through your backend.
Operational notes
Memory-resident index, so RAM is the sizing constraint: the index must fit. For a catalogue of hundreds of thousands of documents that is modest, and it is worth measuring before loading millions, especially since memory got expensive.
Runs as a single binary or a three-node Raft cluster for availability.
Operational caution
The admin API key is total control. Never ship it to a browser; use scoped search-only keys, which is the entire point of the feature.
Collections are schema-ful, and changing a field type means recreating and reindexing.
License
Typesense is released under the GNU General Public License v3.