Benchmarks
1.0×
faster than Lucene.
The same 1,215,854 documents, the same 255 searches, typos and all, on the same machine. Half of Indx Core’s searches are done in 0.53 ms; Lucene’s take 14 ms.
Settings matched to Lucene
- Typos by the same rule on both sides: one from three letters, two from six. Indx's default; Lucene's FuzzyQuery set to Elasticsearch's AUTO, which is the same rule
- Every word of the query required on both sides. Lucene's own default is any of the words, and with it Lucene is slower still
- Both rank with BM25 over the same fields and weights; each otherwise as it ships
- Lucene without fuzzy search is faster on words spelt right, but finds no misspelt word
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
- Median search0.53 msLucene: 14 ms
- Slowest 5 % (p95)5.0 msLucene: 23 ms
- Indexing 1,215,854 documents14 sLucene: 36 s
- Memory while serving3.4 GBLucene: 3.8 GB
The libraries
Faster than every one of them
Indx against each engine, run apart: every time with Indx set the way that engine works, its typo rules and its limits. So each bar is a fair fight, one at a time.
The numbers
| Pair | Indx | The other | Ratio |
|---|---|---|---|
| Indx Core vs Lucene | 0.53 ms | 14 ms | 26× |
| Indx Core vs Lucene.NET | 0.53 ms | 11 ms | 21× |
Coming soonSearch servers, over HTTP: Elasticsearch, Solr, Typesense, Meilisearch
Latency
99 % of Indx Core’s searches done before Lucene’s typical one
Every search, not the average. The quickest are answered in 0.05 ms and long queries with typos take longer, yet even Indx Core’s slowest 5 % start at 5.0 ms, well under Lucene’s typical search at 14 ms.
The numbers
| Engine | p50 | p95 |
|---|---|---|
| Indx Core | 0.53 | 5.0 |
| Lucene | 14 | 23 |
Typos
Every typo found, and still 4.3× faster
A misspelled word is where search does its hardest work. Both sides forgive typos by the same rule, so both find the word, and Indx Core answers first every time: 26× faster as shoppers typed, 4.3× with two typos added. Turn typo tolerance off and Lucene finds no misspelled word at all.
The numbers
| Search | Indx Core | Lucene | Faster |
|---|---|---|---|
| As typed by shoppers | 0.53 | 14 | 26× |
| One typo added to a word | 1.2 | 13 | 11× |
| Two typos added to a word | 3.0 | 13 | 4.3× |
| Three typos | – | – | Not compared |
Throughput
6.4× the searches on the same machine
12× the answers a second with one client searching, 6.4× with 14 at once. Fewer machines for the same traffic.
The numbers
| Clients | Indx Core | Lucene |
|---|---|---|
| 1 | 859 | 71 |
| 4 | 3,037 | 275 |
| 14 | 4,901 | 771 |
Indexing
1,215,854 documents in 14 s
From JSON to searchable 2.6× sooner than Lucene, then served in 3.4 GB of memory where Lucene takes 3.8 GB.
1,215,854 documents, from JSON to searchable · the bars on one time scale
The numbers
| Engine | Time | Documents a second |
|---|---|---|
| Indx Core | 14 s | 90,063 |
| Lucene | 36 s | 34,153 |
Memory while serving1.1× smaller
The numbers
| Engine | Memory | Index |
|---|---|---|
| Indx Core | 3.4 GB | – |
| Lucene | 3.8 GB | – |
How it was measured
Run it yourself
Same machine, same data, same queries, and Indx set to match each engine’s own settings. The harness is public: if your numbers differ, we want to know.
- Machine
- Apple M4, 14 cores, 24 GB RAM, macOS 26.6.2
- Run
- In process, Release builds, warmed up: at least 300 searches and 20 seconds before each set is timed
- Data
- Amazon Shopping Queries (ESCI), US products: 1,215,854 documents, 1.0 GB JSON
- Searches
- 255, real shoppers' queries from the dataset, typos kept, each with a word of nine letters or more; the same with one and with two typos added
- Engines
- Indx Core IndxSearchLib 6.0.0-rc2 (.NET 10) · Lucene 10.6.0 (Java 27)
- Indx Core
- Defaults: word matching, typos from three and six letters, every word required
- Lucene
- StandardAnalyzer, BM25, a FuzzyQuery per word and field with AUTO edits, every word required
- Matched
- Typos by the same rule on both sides: one from three letters, two from six. Indx's default; Lucene's FuzzyQuery set to Elasticsearch's AUTO, which is the same rule. Every word of the query required on both sides. Lucene's own default is any of the words, and with it Lucene is slower still. Both rank with BM25 over the same fields and weights; each otherwise as it ships. Lucene without fuzzy search is faster on words spelt right, but finds no misspelt word
- Measured
- 26 Nov 2026, IndxSearchLib 6.0.0-rc2