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

IndxServer0 answered
Elasticsearch0 answered

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

At a glance

Indx and Elasticsearch, side by side

FeatureIndxServerElasticsearch
Runs asA .NET library (Indx Core) and an HTTP server (Indx)A server, usually a cluster
Where it runsSelf-hosted: your machines or your Azure subscriptionSelf-hosted, or Elastic Cloud
LicenceSource available (PolyForm Shield)AGPLv3, SSPL or Elastic License 2.0; the default download is ELv2
Typo tolerance, out of the boxUp to three edits a word, then pattern matching keeps guessingOff until you set fuzziness; AUTO allows two edits at most
Matching inside wordsPattern matching, field by field, ranked with everything elseNot in its ranking; n-gram analyzers are mostly set up for suggestions
Ranking without tuningBuilt-in relevancy ranking makes titles rank over descriptionsBM25; field boosts tuned by hand
Facets and filtersCounted over the same records as the list
Vector and hybrid searchYour own embeddings, blended with text in one listVector search; hybrid needs the Enterprise licence
Search statisticsSearches, zero results, journeys, in the consoleBehavioral Analytics deprecated in 9.0
For AI agents (MCP)A built-in MCP serverAn MCP endpoint in Kibana’s Agent Builder
A console to manage itDatasets, fields, records, statisticsKibana

What’s different

Why you should move to Indx

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

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

  3. 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
IndxServerElasticsearchThe 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
SearchIndxServerElasticsearchFaster
As typed by shoppers0.881213×
Half a word (as you type)1.78.85.3×
Two words0.848.610×
A long query (six words or more)0.861619×
One typo added to a word1.5149.4×
Two typos added to a word3.4144.1×
Three typos––Not compared
Time0.0 s
IndxServer0 documents
Elasticsearch0 documents

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

The numbers
Indexing
EngineTimeDocuments a second
IndxServer26 s46,764
Elasticsearch43 s28,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

  1. Export your documents as JSON: the same JSON Indx loads.
  2. Say which fields are searched, filtered and faceted: no analyzers or mappings.
  3. Point your search box at the Indx server, or use the React components.
  4. 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

Indx against the others

Try it on your own data