IndxSearchLib 6.0.0-rc1
See the version list below for details.
dotnet add package IndxSearchLib --version 6.0.0-rc1
NuGet\Install-Package IndxSearchLib -Version 6.0.0-rc1
<PackageReference Include="IndxSearchLib" Version="6.0.0-rc1" />
<PackageVersion Include="IndxSearchLib" Version="6.0.0-rc1" />
<PackageReference Include="IndxSearchLib" />
paket add IndxSearchLib --version 6.0.0-rc1
#r "nuget: IndxSearchLib, 6.0.0-rc1"
#:package IndxSearchLib@6.0.0-rc1
#addin nuget:?package=IndxSearchLib&version=6.0.0-rc1&prerelease
#tool nuget:?package=IndxSearchLib&version=6.0.0-rc1&prerelease
IndxSearchLib
v6.0.0-rc1
Indx is a high-performance, embeddable search engine for developers working with structured data. Built from the ground up for speed, typo tolerance, and ease of use.
Whether you're building a modern SaaS platform, a high-throughput microservice, or a lightning-fast local app, Indx is designed to drop in and just work.
Indx matches text by pattern, inside words, which makes it tolerant of typos and partial input without stemmers or per-language analyzers. From 6.0 it also indexes whole words: a query word is looked up as typed, then within one, two or three edits, with exact matches first. Each field is matched by pattern, by words, or both.
Indx At a Glance
- Pattern matching that tolerates large typos
- Word matching by edit distance, exact matches first
- Search as you type, from the first letter
- Count, facets and list over the same records
- Schemaless JSON indexing with support for nesting
- Filters, Facets, Weights, Sorting, Boosting, Dynamic Operations
- Lightweight software with minimal resource usage
New in 6.0
- Word indexing, beside pattern matching: each field by words, by pattern, or both
- More control over ranking: fetching and reranking apart, typo tolerance and weight per field
- Faster and more optimized: less time and less memory per search
- Compound words found by their parts, without a dictionary
- Synonyms as alternatives to the words typed
- Filter expressions, and filters by set, position and date
- Bury, the counterpart of Boost
- A new vector search graph: higher recall, faster builds, less memory
- A match report that says why each record matched
- Pairs with the Indx server for an HTTP API, a dashboard, and MCP access for AI agents
Get Started
Documentation: the Indx 6 documentation is in preview, on the docs repository's v6 branch; docs.indx.co describes 5.0 until 6.0 is released. Coming from 5.0, read the v5 to v6 migration guide.
AI skill: the Indx 6 skill is in preview, on the skill's v6 branch: put its folder where your agent reads its skills. npx skills add installs the 5.0 skill until 6.0 is released.
License & Support
IndxSearchLib is free for production use, including commercial applications.
Free Tier
- Free for any use case (personal, commercial, production)
- Unlimited documents with free registration (100k limit without registration)
- No support, guarantees or SLA
- Community resources and documentation only
Free License Registration
To unlock unlimited documents, register for a free license. Registration is free and gives you a license file that removes the document limit.
Paid Support Packages
For teams requiring guaranteed support and SLA commitments, we offer:
- Professional Support: Email-based technical support with priority response times
- Enterprise Support: SLA, direct engineering access, rapid response, and dedicated contact
Visit indx.co for pricing. See LICENSE.md for full terms.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- CommunityToolkit.HighPerformance (>= 8.4.2)
- Microsoft.Data.Sqlite (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- SQLitePCLRaw.bundle_e_sqlite3 (>= 3.0.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on IndxSearchLib:
| Package | Downloads |
|---|---|
|
Infidex.Benchmark
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on IndxSearchLib:
| Repository | Stars |
|---|---|
|
lofcz/Infidex
The high-performance .NET search engine based on pattern recognition.
|
The release candidate for 6.0: keys as text, a filter cache limited in megabytes, faster filters,
and a sort that shows on a text search. Some changes break a build; they are marked below.
### Added
- **Keys as text.** A record's key is its key field's value as text, so `"sku-17"`, `"0042"` and
`42` all work, and `42` and `"42"` are the same key. Whole-number keys work as before.
`ScoreEntry16.Key` is the key as text, beside `DocumentKey`. `GetJsonDataOfKey(string)`,
`GetJsonDataOfKeys(string[])`, `DeleteJsonRecord(string)`, `DeleteJsonRecords(IEnumerable<string>, …)`
and `UpdateField(string, …)` take it, and `GetKeyText(long)` and `GetKeyNumber(string)` turn one
into the other. A record with an empty key is left out and counted.
- **A filter cache limited in megabytes.** `new SearchEngine(…, filterCacheMB: 256)` sets how much
the filters kept between searches may take, 256 MB by default, 0 for none; the least recently
used are let go past it, in the background. `Status.FilterCacheFilters`,
`FilterCacheBytes` and `FilterCacheLimitBytes` say what the cache holds.
- **The match report names every field.** With `EnableMatchReport`, each query word has `Fields`:
every field that met it and how, the counted one first.
### Changed
- **`SortBy` shows on a text search.** Records are put in tiers of relevance first and sorted by
the field within each tier, so a sort by price keeps the best matches first and orders each band
of them by price. Until now it only ordered records with the same score, which on a text search
were few. An empty search sorts by the field alone, as before.
- **Common words are not required.** A word the index holds in a great many places ("for", "the"
in a large catalogue) no longer has to be in a record, is not matched by its misspellings and
does not count toward the score. Searches with such words find more of what was meant, and the
slowest of them are faster.
- **Filling a short page takes one misspelt word in three.** With `Candidates.FillReach`, a record
fills the page only when at most one word in three of the query is misspelt in it: one of one to
three words, two of four to six. The near misses stay, the look-alikes go. `FillReach` is 0 by
default, as before.
- **`Hibernate` and `Unload` run no garbage collection.** They used to pause the whole process to
collect, and gave little back. Call `GC.Collect(2, GCCollectionMode.Aggressive, true, true)`
when it suits you, to return the memory.
### Faster
- **Range filters** are built in one go: a new price range costs about what a cached one does,
where it took several times as long before.
- **Filters on array fields** (tags, categories) are read from an index instead of every record:
on 650,000 records from over 100 ms to a fraction of a millisecond.
- **Combined filters** made by chaining `|` or `&` keep only the result, not every step, so writes
stay fast however many filters are combined. For many values on one field, `CreateInFilter` is
still the fastest.
- **Searches with several words** narrow their candidates word by word, rarest first, and stop as
soon as nothing is left.
### Breaking
- **`PreloadFilters` is removed:** `Field.PreloadFilters`, `FieldProxy.PreloadFilters` and
`ISearchEngine.PreLoadedFilters`. A filter is made from the field's index in well under a
millisecond when first used, and preloading made every insert slower. A saved configuration that
carries it still loads.
- **`ConfigurationParameters` has no filter cache size.** `filterCacheSize`, `FilterCacheSize` and
`DefaultFilterCacheSize` are gone; give `filterCacheMB` to `SearchEngine`. A configuration file
that carries the old number still loads.
- **`IPersistence` and `IDatabaseManager` take a key as a string**, for a store of your own.
- **`Indx.Utilities.RoaringBitmap` is no longer public.**
### Fixed
- **A search could in rare cases run without its filter**, when a filter was used through
another instance of the same filter than the one cached. It now always finds the filter's
records, and a search whose filter cannot be read is refused.