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

IndxServer0 answered
Typesense0 answered

Each search’s time drawn from the measured distribution, the same draw for both

At a glance

Indx and Typesense, side by side

FeatureIndxServerTypesense
Runs asA .NET library (Indx Core) and an HTTP server (Indx)A server
Where it runsSelf-hosted: your machines or your Azure subscriptionSelf-hosted, or Typesense Cloud
LicenceSource available (PolyForm Shield)GPL-3.0
Typo tolerance, out of the boxUp to three edits a word, then pattern matching keeps guessingTwo at most, from 4 and 7 letters; sought when the words as typed find nothing
Matching inside wordsPattern matching, field by field, ranked with everything elseInfix search, set per field in the schema
Ranking without tuningBuilt-in relevancy ranking makes titles rank over descriptionsIts text match score, field weights by hand
Facets and filtersCounted over the same records as the list
Vector and hybrid searchYour own embeddings, blended with text in one listVector and hybrid search
Search statisticsSearches, zero results, journeys, in the consoleAnalytics rules, turned on at startup
For AI agents (MCP)A built-in MCP serverCommunity MCP servers only
A console to manage itDatasets, fields, records, statisticsIn Typesense Cloud

What’s different

Why you should move to Indx

  1. 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.

  2. 02

    Three typos, then patterns

    Indx looks a word up within three edits, and past that pattern matching keeps guessing.

  3. 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
IndxServerTypesenseThe median of each kind of search; the number at the end is how many times faster.
The numbers
Median latency by kind of search, in milliseconds
SearchIndxServerTypesenseFaster
As typed by shoppers0.904.04.4×
Half a word (as you type)1.7106.0×
Two words0.822.63.2×
A long query (six words or more)0.881012×
One typo added to a word1.45.13.6×
Two typos added to a word2.6134.9×
Three typos––Not compared
Time0.0 s
IndxServer0 documents
Typesense0 documents

1,215,854 documents, from JSON to searchable · the bars on one time scale

The numbers
Indexing
EngineTimeDocuments a second
IndxServer24 s50,242
Typesense151 s8,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

  1. Export your collection’s documents as JSON.
  2. Set the fields as you had them in your schema.
  3. Match your typo settings, or keep Indx’s defaults.
  4. 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

Indx against the others

Try it on your own data