IL.UmbracoSearch
18.0.1.3
dotnet add package IL.UmbracoSearch --version 18.0.1.3
NuGet\Install-Package IL.UmbracoSearch -Version 18.0.1.3
<PackageReference Include="IL.UmbracoSearch" Version="18.0.1.3" />
<PackageVersion Include="IL.UmbracoSearch" Version="18.0.1.3" />
<PackageReference Include="IL.UmbracoSearch" />
paket add IL.UmbracoSearch --version 18.0.1.3
#r "nuget: IL.UmbracoSearch, 18.0.1.3"
#:package IL.UmbracoSearch@18.0.1.3
#addin nuget:?package=IL.UmbracoSearch&version=18.0.1.3
#tool nuget:?package=IL.UmbracoSearch&version=18.0.1.3
IL.UmbracoSearch
Search for Umbraco 17 and 18 on top of your existing Examine indexes, with two interchangeable engines: Lucene (Examine) and Azure AI Search. Typed filters, facets, sorting, boosts and suggestions; custom indexing through IIndexingConverter; optional hybrid and chunk-level vector search (Azure); optional minimal API endpoints and MCP tools for AI clients.
Compatibility. Pair the package with the Umbraco version that matches your runtime. Umbraco 13-16 and .NET 8-9 are not supported.
| Application runtime | Umbraco CMS |
|---|---|
| .NET 10 | 17.8.1 or later, below 18 |
| .NET 11 | 18.3.1 or later, below 19 |
Both targets use EF Core 10. Versions from 17.8.0.1 on have asynchronous indexing extension points (IIndexingConverter computed-field methods return ValueTask, IExternalIndexingConverter.GetIndexingModelsAsync returns Task); see the compatibility and upgrade notes.
Features
- Full-text search with field targeting, boosts, wildcards and exact-phrase boosting.
- Typed filters (
FilterFor,FilterForCollectionField, ranges,And/Or/Not), sorting, facets, suggestions, subtree search and language-aware fields. - Hierarchical taxonomy facets and filters.
- Custom fields through
IIndexingConverterandIExternalIndexingConverter; Roslyn analyzers that catch missing registrations and wrong filter helpers at build time. - Result field projections: a source generator makes a result model fetch only the fields it reads.
- Azure only: hybrid keyword/vector search, chunk-level vectors, scoring profiles, blue/green index rebuilds.
- Optional: ready-made minimal API search endpoints, MCP search tools, Umbraco backoffice document search, and Search Insights analytics.
The package attaches to existing Umbraco indexes (normally ExternalIndex, optionally InternalIndex); it never creates Lucene indexes.
Install
dotnet add package IL.UmbracoSearch
Register an engine
Choose exactly one of SearchOptions.Lucene or SearchOptions.Azure in Program.cs:
builder.AddServiceAttributeBasedDependencyInjection(options =>
{
options.AddFeature(SearchOptions.Lucene); // or SearchOptions.Azure
});
The extension comes from IL.AttributeBasedDI (using IL.AttributeBasedDI.Extensions;).
Configure
Add a SearchSettings section to appsettings.json and keep secrets in secret storage:
"SearchSettings": {
"DefaultIndexName": "ExternalIndex",
"Indexes": ["ExternalIndex", "InternalIndex"],
"PreviewIndexes": ["InternalIndex"]
}
For Azure also set LicenseToken and Azure:ServiceUrl / Azure:ApiKey (and OpenAi:* for hybrid search). Azure requires a valid license token and valid Azure settings at startup; Lucene needs no license. Every setting and its default is in the configuration reference.
Your first search
Inject ISearchService and call SearchAsync:
var results = await searchService.SearchAsync<CommonSearchItemModel>(new SearchParameters
{
FullTextSearch = new FullTextSearch("umbraco"),
Aliases = ["contentPage"],
LanguageIsoCode = "en-US",
Skip = 0,
Take = 20,
SearchOrderings =
[
ISearchOrdering.ByScore(OrderingType.Descending),
ISearchOrdering.ByField(IndexingConstants.ComputedIndexFields.SearchDate, OrderingType.Descending)
]
});
results.Items holds the hits, results.TotalItemCount the total and results.Facets any requested facets. Take defaults to int.MaxValue, so always set it, especially for public input.
Learn more
Each topic has one reference page:
| Topic | Page |
|---|---|
Registration and every SearchSettings option |
configuration |
SearchParameters, filters, facets, suggestions, taxonomy, languages, result models and projections |
querying |
| Custom fields, converters, external data, scoring profiles | indexing |
| Azure lifecycle, blue/green rebuilds, hybrid and chunk vectors, background embeddings | azure-and-vectors |
| Search endpoints and MCP tools | endpoints-and-mcp |
| Diagnosis order and definition of done | troubleshooting |
| Framework pairing, dependency ranges, breaking changes | compatibility and upgrade |
Optional features
- Backoffice document search: add
SearchOptions.BackofficeDocumentSearchnext to your engine to route only the Umbraco backoffice document search throughInternalIndex. Start-node rules are kept; media, member and other entity searches keep Umbraco's own implementation. - Search Insights: install
IL.UmbracoSearch.Analyticsand addSearchOptions.Analyticsnext to exactly one engine; see its README and the analytics skill.
For AI coding agents
Install or point your agent at the umbraco-search skill (and umbraco-search-analytics when the analytics package is used). Each skill is a short contract summary plus the reference pages above, so an agent can build search features without access to the package source.
| 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. net11.0 is compatible. |
-
net10.0
- Azure.AI.OpenAI (>= 2.9.0-beta.1 && < 3.0.0)
- Azure.Search.Documents (>= 12.1.0-beta.2 && < 13.0.0)
- IL.AttributeBasedDI (>= 2.11.1.1)
- IL.Licensing.Validation (>= 18.0.1.3)
- Microsoft.EntityFrameworkCore (>= 10.0.15 && < 11.0.0)
- Microsoft.EntityFrameworkCore.InMemory (>= 10.0.15 && < 11.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 10.0.15 && < 11.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15 && < 11.0.0)
- Microsoft.ML.Tokenizers (>= 3.0.0 && < 4.0.0)
- Microsoft.ML.Tokenizers.Data.Cl100kBase (>= 3.0.0 && < 4.0.0)
- ModelContextProtocol (>= 2.4.0 && < 3.0.0)
- Umbraco.Cms.Examine.Lucene (>= 17.8.1 && < 18.0.0)
- Umbraco.Cms.Web.Common (>= 17.8.1 && < 18.0.0)
-
net11.0
- Azure.AI.OpenAI (>= 2.9.0-beta.1 && < 3.0.0)
- Azure.Search.Documents (>= 12.1.0-beta.2 && < 13.0.0)
- IL.AttributeBasedDI (>= 2.11.1.1)
- IL.Licensing.Validation (>= 18.0.1.3)
- Microsoft.EntityFrameworkCore (>= 10.0.15 && < 11.0.0)
- Microsoft.EntityFrameworkCore.InMemory (>= 10.0.15 && < 11.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 10.0.15 && < 11.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15 && < 11.0.0)
- Microsoft.ML.Tokenizers (>= 3.0.0 && < 4.0.0)
- Microsoft.ML.Tokenizers.Data.Cl100kBase (>= 3.0.0 && < 4.0.0)
- ModelContextProtocol (>= 2.4.0 && < 3.0.0)
- Umbraco.Cms.Examine.Lucene (>= 18.3.1 && < 19.0.0)
- Umbraco.Cms.Web.Common (>= 18.3.1 && < 19.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on IL.UmbracoSearch:
| Package | Downloads |
|---|---|
|
IL.UmbracoSearch.Analytics
Optional analytics and Azure synonym management for IL.UmbracoSearch. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 18.0.1.3 | 0 | 12/2/2026 |
| 18.0.1.2 | 0 | 12/2/2026 |
| 18.0.1.1 | 91 | 11/26/2026 |
| 18.0.0.6 | 93 | 11/26/2026 |
| 18.0.0.5 | 93 | 11/25/2026 |
| 18.0.0.4 | 76 | 11/25/2026 |
| 18.0.0.3 | 75 | 11/24/2026 |
| 18.0.0.2 | 79 | 11/24/2026 |
| 18.0.0.1 | 93 | 11/18/2026 |
| 17.8.5.2 | 171 | 10/27/2026 |
| 17.8.5.1 | 97 | 10/25/2026 |
| 17.8.4.14 | 136 | 10/15/2026 |
| 17.8.4.13 | 118 | 10/9/2026 |
| 17.8.4.12 | 109 | 10/8/2026 |
| 17.8.4.11 | 206 | 9/17/2026 |
| 17.8.4.10 | 105 | 9/17/2026 |
| 17.8.4.9 | 100 | 9/17/2026 |
| 17.8.4.8 | 96 | 9/17/2026 |
| 17.8.4.7 | 103 | 9/17/2026 |
| 17.8.4.6 | 106 | 9/16/2026 |