Compare · Search servers
Indx vs Elasticsearch
Elasticsearch can do almost anything, once it is tuned. Indx does search well out of the box: typos, ranking and facets without analyzers, mappings or a cluster to run.
1.0×
faster at the median: 0.88 ms against Elasticsearch’s 12 ms, with Elasticsearch’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 Elasticsearch, side by side
| Feature | IndxServer | Elasticsearch |
|---|---|---|
| Runs as | A .NET library (Indx Core) and an HTTP server (Indx) | A server, usually a cluster |
| Where it runs | Self-hosted: your machines or your Azure subscription | Self-hosted, or Elastic Cloud |
| Licence | Source available (PolyForm Shield) | AGPLv3, SSPL or Elastic License 2.0; the default download is ELv2 |
| Typo tolerance, out of the box | Up to three edits a word, then pattern matching keeps guessing | Off until you set fuzziness; AUTO allows two edits at most |
| Matching inside words | Pattern matching, field by field, ranked with everything else | Not in its ranking; n-gram analyzers are mostly set up for suggestions |
| Ranking without tuning | Built-in relevancy ranking makes titles rank over descriptions | BM25; field boosts tuned 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 search; hybrid needs the Enterprise licence |
| Search statistics | Searches, zero results, journeys, in the console | Behavioral Analytics deprecated in 9.0 |
| For AI agents (MCP) | A built-in MCP server | An MCP endpoint in Kibana’s Agent Builder |
| A console to manage it | Datasets, fields, records, statistics | Kibana |
What’s different
Why you should move to Indx
- 01
Search that works before you tune it
No analyzers, mappings or boosts to get right first. Say which fields are searched, and typos, half-typed words and ranking work.
- 02
One process, not a cluster
The Indx server is one .NET application to run: no cluster to keep healthy and no JVM heap to size.
- 03
More than two typos
Elasticsearch stops at two edits. Indx looks a word up within three, then keeps guessing from the patterns in it.
Measured
The same data, the same searches, Elasticsearch’s settings
1,215,854 documents and 1,000 searches on one machine, with Indx set the way Elasticsearch works.
Settings matched to Elasticsearch
- Typos by the same rule on both sides: one from three letters, two from six. Indx's default and Elasticsearch's fuzziness AUTO
- Every word of the query required on both sides: a must clause per word in Elasticsearch
- Both over HTTP on localhost, one node, the same fields and weights; each otherwise as it ships
- Elasticsearch without fuzziness is faster on words spelt right, but finds no misspelt word
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: Elasticsearch
- Elasticsearch 9.5.6, on the JDK it ships with (Java 27)
- One node, security off, a 4 GB heap
- One shard; every field text with the standard analyzer
- A search: a bool query, one must multi_match per word over every field, the weights as boosts, fuzziness AUTO; only the id returned
- Median search0.88 msElasticsearch: 12 ms
- Slowest 5 % (p95)4.9 msElasticsearch: 21 ms
- Indexing 1,215,854 documents26 sElasticsearch: 43 s
- Searches a second, 14 clients3,979Elasticsearch: 849
The numbers
| Search | IndxServer | Elasticsearch | Faster |
|---|---|---|---|
| As typed by shoppers | 0.88 | 12 | 13× |
| Half a word (as you type) | 1.7 | 8.8 | 5.3× |
| Two words | 0.84 | 8.6 | 10× |
| A long query (six words or more) | 0.86 | 16 | 19× |
| One typo added to a word | 1.5 | 14 | 9.4× |
| Two typos added to a word | 3.4 | 14 | 4.1× |
| 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 | 26 s | 46,764 |
| Elasticsearch | 43 s | 28,145 |
Fair to say
When Elasticsearch is the better choice
- You need logs, metrics and observability as well as search, in one stack.
- Your data runs to billions of documents across many machines.
- Your team already runs Elasticsearch and knows its tuning.
Switching
Moving from Elasticsearch
- Export your documents as JSON: the same JSON Indx loads.
- Say which fields are searched, filtered and faceted: no analyzers or mappings.
- Point your search box at the Indx server, or use the React components.
- Compare the results on your own queries in the console before you switch.
Questions
Indx or Elasticsearch?
Is Indx a drop-in replacement for Elasticsearch?
Not its API: Indx has its own, smaller one. For search, it does what most sites use Elasticsearch for, typos, filters, facets, ranking, with far less to set up.
Does Indx scale like Elasticsearch?
Indx is one process per dataset host, not a cluster. It is built to keep a large catalogue in memory on one machine and answer in under a millisecond, not to spread billions of documents across many.
Can I keep Elasticsearch for logs?
Yes. Many teams keep it for logs and observability and use a search engine made for search for the search box.
Compare