Indx 6 is out of beta. IndxSearchLib 6.0 is on NuGet, and the Indx server 2.0 runs on it. It is the biggest change to how Indx searches since it began, and the fastest Indx yet.
Under a millisecond, typos included.
Faster than what you are using
We measured Indx 6 against the engines people use today, on 1.2 million Amazon products and 1,000 real shoppers' queries, typos kept. Both sides tolerate typos by the same rule, require every word, and rank with BM25 over the same fields. The whole setup, and the harness to run it yourself, is on the benchmarks page.
In your own process, against the other search libraries:
- 24× faster than Lucene, and 21× faster than Lucene.NET. Half a millisecond for a typical search, where Lucene takes 12.
- 6.9× the searches a second with every core busy. With exact words, Indx answers over 47,000 searches a second.
- Indexed in 12.5 seconds: the 1.2 million products, about three times faster than Lucene and Lucene.NET, and with less memory.
Over HTTP, against the search servers:
- Under a millisecond for a search, the whole round trip. That is 13× faster than Elasticsearch, 24× faster than Solr, 4.4× faster than Typesense and 3× faster than Meilisearch.
- Indexed in about 25 seconds, where the others take from 40 seconds to two and a half minutes.
Finds what people mean
- Word indexing. Words are indexed as words. A query word is looked up as typed, then within one, two or three typos, and a record holding the words as typed is never placed below one holding a misspelling.
- Pattern matching, field by field. Matching inside words, with its tolerance for badly misspelled text, is still there, chosen per field with its own typo tolerance and weight.
- Exact search. Every word as it is written, for codes, names and part numbers.
- Compound words, found by their parts, and synonyms that widen a search, with no dictionary and no language setting.
Ranking you control
- Fetching and ranking, apart. How records are fetched and whether they are reranked are two choices.
- One count for everything. The count, the facets and the list come from the same records, so the numbers always agree.
- Bury, the counterpart of Boost, and filter expressions:
brand IN ["nike", "puma"] AND price BETWEEN 100 AND 2000. - A match report that says how every query word was met, and in which field.
The server 2.0 adds records you can search and filter in the console, journeys in statistics, filter panels that appear when they apply, and Observr. Indx 6 is here has the whole list.
Upgrading from Indx 5
Indx 6 is a breaking release. Most code written for 5.0 needs changes, and result lists change by design, so judge relevance again after upgrading. The migration guide says where every 5.0 setting went, and a coding agent with the Indx skill can do most of the work.
Get it
dotnet add package IndxSearchLib
The Indx server 2.0 is source available on GitHub, to run on your own machines or in your own Azure subscription.