Compare · Search servers
Indx vs Typesense
Typesense is fast and keeps everything in memory. So does Indx, with three typos a word, matching inside words, and a console to see what people search for.
1.0×
faster at the median: 0.90 ms against Typesense’s 4.0 ms, with Typesense’s settings matched.
1,000 searches, back to back · real time
0.00 ms
Each search’s time drawn from the measured distribution, the same draw for both
At a glance
Indx and Typesense, side by side
| Feature | IndxServer | Typesense |
|---|---|---|
| Runs as | A .NET library (Indx Core) and an HTTP server (Indx) | A server |
| Where it runs | Self-hosted: your machines or your Azure subscription | Self-hosted, or Typesense Cloud |
| Licence | Source available (PolyForm Shield) | GPL-3.0 |
| Typo tolerance, out of the box | Up to three edits a word, then pattern matching keeps guessing | Two at most, from 4 and 7 letters; sought when the words as typed find nothing |
| Matching inside words | Pattern matching, field by field, ranked with everything else | Infix search, set per field in the schema |
| Ranking without tuning | Built-in relevancy ranking makes titles rank over descriptions | Its text match score, field weights by hand |
| Facets and filters | Counted over the same records as the list | |
| Vector and hybrid search | Your own embeddings, blended with text in one list | Vector and hybrid search |
| Search statistics | Searches, zero results, journeys, in the console | Analytics rules, turned on at startup |
| For AI agents (MCP) | A built-in MCP server | Community MCP servers only |
| A console to manage it | Datasets, fields, records, statistics | In Typesense Cloud |
What’s different
Why you should move to Indx
- 01
Typos looked for every time
Typesense as it ships looks for typos only when the words as typed find nothing. Indx looks every time, so a misspelt word is found beside the right ones.
- 02
Three typos, then patterns
Indx looks a word up within three edits, and past that pattern matching keeps guessing.
- 03
Statistics in the console
What people search for, what finds nothing, where they go after: in the console that manages the datasets.
Measured
The same data, the same searches, Typesense’s settings
1,215,854 documents and 1,000 searches on one machine, with Indx set the way Typesense works.
Settings matched to Typesense
- Typesense's typo rules on both sides: one typo from four letters, two from seven
- Every word of the query required on both sides (drop_tokens_threshold 0)
- Both over HTTP on localhost, the same fields and weights; each otherwise as it ships
- Typesense as it ships looks for typos only when the words as typed find nothing; Indx looks every time
What ran: IndxServer
- IndxServer on IndxSearchLib 6.0.0-rc2, from NuGet
- .NET 10, a Release build in Production, one dataset
- Every field matched by its words, the weights as field weights
- A search: POST search with the server's defaults, the text finished (while typing, the last word as typed)
What ran: Typesense
- Typesense 30.2, the release binary for macOS on Apple silicon
- One node, defaults
- Every field a string, query_by every field with the weights
- A search: its default typo rules, drop_tokens_threshold 0, the last word a prefix only while typing; only the id returned
- Median search0.90 msTypesense: 4.0 ms
- Slowest 5 % (p95)4.0 msTypesense: 27 ms
- Indexing 1,215,854 documents24 sTypesense: 151 s
- Searches a second, 14 clients3,852Typesense: 1,253
The numbers
| Search | IndxServer | Typesense | Faster |
|---|---|---|---|
| As typed by shoppers | 0.90 | 4.0 | 4.4× |
| Half a word (as you type) | 1.7 | 10 | 6.0× |
| Two words | 0.82 | 2.6 | 3.2× |
| A long query (six words or more) | 0.88 | 10 | 12× |
| One typo added to a word | 1.4 | 5.1 | 3.6× |
| Two typos added to a word | 2.6 | 13 | 4.9× |
| Three typos | – | – | Not compared |
1,215,854 documents, from JSON to searchable · the bars on one time scale
The numbers
| Engine | Time | Documents a second |
|---|---|---|
| IndxServer | 24 s | 50,242 |
| Typesense | 151 s | 8,052 |
Fair to say
When Typesense is the better choice
- You want a hosted service today: Indx is self-hosted for now.
- You need geo search across a cluster of nodes.
Switching
Moving from Typesense
- Export your collection’s documents as JSON.
- Set the fields as you had them in your schema.
- Match your typo settings, or keep Indx’s defaults.
- Point your search box at the Indx server.
Questions
Indx or Typesense?
Is Indx faster than Typesense?
In our runs, with Typesense’s typo rules matched on both sides, yes: see the numbers on this page and how they were measured.
Compare