Get in touch 01795 905292

What is Umbraco Search? A guide for Examine developers - Part 1 of 3

What is Umbraco Search? A guide for Examine developers - Part 1 of 3

This is the first of a three-part blog series based on my talk, From Examine to Umbraco Search, at the Umbraco Kent Meetup on 16 November 2026. You can watch the recording on the Umbraco Community YouTube channel, and the slides and demo source code are on GitHub.

  1. What is Umbraco Search? A guide for Examine developers (this post)

  2. Migrating Examine code to Umbraco Search on Umbraco 17

  3. Upgrading to Umbraco 19 with a custom Examine index

I put the talk together because I wanted to understand what's involved in moving from Examine to Umbraco Search, so I'm better prepared when I update sites, especially to Umbraco 19 and beyond. Lots of Umbraco sites have custom Examine search, and I wanted to know exactly what 19 means for them before the upgrades start.

Umbraco 19 builds Umbraco Search into the CMS and retires the classic Examine plumbing, so most sites with search will need some work. But you can do that work now, on Umbraco 17 or 18, and make the 19 upgrade a small step.

This first part covers what Umbraco Search is, why it exists, and how indexing and searching work. Part 2 ports the common Examine patterns, and part 3 covers the upgrade and custom indexes.

A lot of what I learnt came from Kenn Jacobsen's blog, and the series follows his post From Examine to Umbraco Search. I link to his other articles where they go deeper, and they're well worth reading.

Why Examine search needs attention before Umbraco 19

There are three reasons this matters now.

  • Umbraco Search is part of the CMS from 19. It's no longer an optional add-on: back office search, the Delivery API and IPublishedContentQuery.Search() all run on it.

  • The old default indexes are retired. ExternalIndex, InternalIndex, MembersIndex and the Delivery API index don't exist in 19, and neither does the code that filled them. Anything that asks IExamineManager for ExternalIndex by name will break.

  • You can migrate in place, today. The add-on runs on Umbraco 17 and 18, so you can port and test your search code on the version you're already on. Still on Umbraco 13? Here's why I'd move to 17 now anyway, and how I migrated a site from 13 to 17 on Umbraco Cloud.

Umbraco Search is a free, open-source search layer. One API serves three consumers: your own site search, back office search for content, media and members, and the Content Delivery API.

On Umbraco 17 and 18 it comes as four NuGet packages:

  • Umbraco.Cms.Search.Core holds the indexing pipeline and the ISearcher API, and knows nothing about Lucene.

  • Umbraco.Cms.Search.Provider.Examine is the default engine: Lucene running in process, so there's no new infrastructure.

  • Umbraco.Cms.Search.BackOffice and Umbraco.Cms.Search.DeliveryApi are optional, and plug those two areas in.

From Umbraco 19 it's part of the CMS, so there's nothing to install and it registers itself.

Why Umbraco rewrote search

With Examine, anything beyond a keyword box means learning Examine's fluent API, and often raw Lucene: field names, analysers, value sets. The convenient option, IPublishedContentQuery.Search(), only does keywords, against the External index by default. If you want to filter on property values or sort by anything other than relevance, you either hand-write an Examine query or load the published content and do it in memory, which gets expensive on a big site.

Facets on property values were never built in. Segments aren't supported, protected content is simply left out, and cultures only work through per-culture field names.

Umbraco Search addresses each of those: one API whatever the engine; filters, facets and sorting in the query; cultures, segments and protected content handled for you; and documented extension points. The aim is good search without needing in-depth knowledge of the search technology. It's a complete rewrite rather than a wrapper around Examine. It started as an RFC early in 2025, and the first alpha shipped in August 2025. Kenn's post Trying out the new Umbraco Search, written on the day of that alpha, is a good tour of the highlights, with a demo site on GitHub.

Provider agnostic by design

This is the big difference. Examine is a Lucene wrapper that you query directly. Umbraco Search is an abstraction: it decides what gets indexed and when, a provider decides how it's stored and searched, and your code only talks to Umbraco Search's API.

A provider implements two interfaces, IIndexer and ISearcher, registered per index in IndexOptions. That means you can swap providers without rewriting your queries, or run several at once. If you do run several, resolve each index's searcher with ISearcherResolver, because an injected ISearcher is whichever provider registered last. Kenn covers this in Mix and match search providers.

Examine is the default, on Examine 4. Kenn has published Elasticsearch, Typesense, Algolia and PostgreSQL providers, or you can write your own.

Three Examine provider settings are worth knowing about:

  • FieldOptions: facet and sort fields are declared before indexing, so changing them means a rebuild.

  • SearcherOptions: the R1 to R3 relevance boosts, MaxFacetValues (100 by default), and ExpandFacetValues, which stops a facet's counts shrinking when you filter on it.

  • ZeroDowntimeIndexing: off by default, so a rebuild empties the index while the site is still searching it. Turn it on and the built-in indexes rebuild into a shadow copy, then swap. Custom indexes still empty.

Getting started with Umbraco Search on Umbraco 17

Install the packages and add a composer

Add the Core, Examine provider and BackOffice packages, plus DeliveryApi if you use the Delivery API. The installation docs cover each one. Pin them to 17.x on Umbraco 17, because the latest release targets a newer Umbraco version.

dotnet package add Umbraco.Cms.Search.Core@17.2.0
dotnet package add Umbraco.Cms.Search.Provider.Examine@17.2.0
dotnet package add Umbraco.Cms.Search.BackOffice@17.2.0

Then add a composer. That's enough for Umbraco Search to build its indexes and power back office search.

public sealed class SiteComposer : IComposer
{
  public void Compose(IUmbracoBuilder builder)
  {
    builder
      .AddSearchCore()
      .AddBackOfficeSearch()
      .AddExamineSearchProvider();

    // once nothing uses them, switch off
    // the default Examine indexes
    builder.DisableDefaultExamineIndexes();
  }
}

It also sits alongside Examine. Your existing Examine code keeps working against the default indexes until you switch them off with that last line. That's a deliberate step, and part 2 covers why.

How Umbraco Search indexes content

When content is saved, published, moved or deleted, the change goes to a change strategy. There's one for published content and one for drafts. It runs on a background queue, so the index updates a moment after the save.

The change strategy asks the content indexers for fields. The built-in ones supply system fields such as the key, name, content type, path and dates, plus a field for each property, from that property editor's value handler. Your own IContentIndexer adds anything extra, and that replaces TransformingIndexValues. The content indexer docs cover the details, and Kenn's Tailored indexing for Umbraco Search walks through this and the other indexing extension points.

The fields are typed:

  • Text has four relevance levels: names and H1s in R1, H2s in R2, H3s in R3, and everything else in plain Texts.

  • Keywords are for exact matching: content pickers, tags and fixed lists. Media pickers aren't indexed, but Kenn shows how to add them in Indexing media values for documents.

  • Integers, decimals and dates get their own types.

Finally, the provider's IIndexer writes it all to the engine. Out of the box on 17 and 18 there are four indexes: Umb_PublishedContent for the website and the Delivery API, Umb_Content for drafts and Delivery API preview, and Umb_Media and Umb_Members for the back office. Umbraco 19 adds Umb_Elements.

Searching with ISearcher

Everything goes through one call, ISearcher.SearchAsync. You pass the index, an optional free-text query, filters, facets, sorters, the culture, an access context, then skip and take.

var result = await searcher.SearchAsync(
  indexAlias:
    Constants.IndexAliases.PublishedContent,
  query: "pink",
  filters: [new KeywordFilter("genre",
    ["rock", "pop"], Negate: false)],
  facets: [new KeywordFacet("genre")],
  sorters: [new ScoreSorter(
    Direction.Descending)],
  culture: "en-US",
  accessContext: memberAccess,
  skip: 0, take: 10);

// result.Total, result.Documents (keys),
// result.Facets
  • The query runs across the text fields, using the relevance boosts.

  • Filters are ANDed together, values within one filter are ORed, and any filter can be negated. Ranges include the lower bound and exclude the upper.

  • Facets are exact values or ranges, on keywords, numbers and dates.

  • Sorters can be chained, with ScoreSorter for relevance.

Only invariant content is searched unless you pass a culture, and you pass a segment to search segment values too. Protected content is excluded unless you pass an AccessContext with the member's key and groups. Umbraco Search doesn't look the member up for you.

What you get back is the total, the matching document keys and the facet counts. You then load what you render from the published cache.

One trap: filter, facet and sorter types must match the field's type. A KeywordFilter on a text field quietly returns nothing.

Keyword matching: how search results change from Examine

This is where your users will notice a difference.

With Examine you build the query yourself. Each clause can take a trailing wildcard, fuzzy matching, a phrase or a boost. Umbraco 17's IPublishedContentQuery.Search() boosts the whole phrase twenty times, then each word exact ten times, or as a prefix. But words under three letters, and queries under four characters, only match exactly.

Umbraco Search's Examine provider has one fixed behaviour. Every term must match, exactly or as a prefix, at any length. Each text tier is searched with its own boost: 6 for R1, 4 for R2, 2 for R3, and 1 for other text. You can tune it by changing those boosts in SearcherOptions, or by indexing your own fields into a higher tier from your IContentIndexer. Fuzzy matching, leading wildcards, or switching prefixes off all need your own ISearcher. On Umbraco 19 a leading * or ? is simply dropped.

So "umb" finds "umbraco" in Umbraco Search, but not with 17's Search(), and the rankings differ.

One catch is stop words. The default analyser doesn't index words like "the" or "for", but every term still has to match, so a stop word only matches as the start of a longer word, like "there" or "form". Include one in a search and results drop out, sometimes all of them. 17's Search() runs the query through the analyser, so it just ignores them. There's an open Umbraco PR targeting 19 that fixes this, so check again at release.

These are the Examine provider's rules; another provider will have its own.

That's how Umbraco Search works. In part 2 I take two common Examine implementations, an IExamineManager query and IPublishedContentQuery.Search(), and port them to ISearcher on Umbraco 17, with the before and after code for each.

Read part 2: Migrating Examine code to Umbraco Search on Umbraco 17

Talk recording, slides and further reading

Justin Neville

Written by Justin Neville

Justin has worked in software development since 1998. He began writing C and C++ applications, moving to C# and .NET development in 2002. From 2002 to 2013 he built large-scale internal web applications for major companies in the finance and insurance sectors. In 2013, he founded Nevitech IT Solutions Ltd, and since then has focused exclusively on building and supporting websites using Umbraco CMS.

Justin is an Umbraco Certified Master and an Umbraco MVP for 2026. He won the Umbraco AI Package Award for his AI Log Analyser package, contributes to the Umbraco CMS core, and co-organises the Umbraco Kent Meetup. His particular strengths include system architecture, performance optimisation, complex troubleshooting, and writing clean, scalable code. He also mentors junior developers and works closely with agency partners on complex builds requiring specialist expertise.

More articles by Justin