Custom indexing
Learn how to build and customize the indexes that comes with your Umbraco website.
Customizing the built in indexes
Creating a ConfigureOptions class
using Examine.Lucene;
using Microsoft.Extensions.Options;
namespace Umbraco.Docs.Samples.Web.CustomIndexing;
public class ConfigureExternalIndexOptions : IConfigureNamedOptions<LuceneDirectoryIndexOptions>
{
public void Configure(string name, LuceneDirectoryIndexOptions options)
{
throw new System.NotImplementedException();
}
public void Configure(LuceneDirectoryIndexOptions options)
{
throw new System.NotImplementedException();
}
}Changing field value types
Changing IValueSetValidator
Creating your own index
A custom Umbraco content index
ProductIndex
ConfigureProductIndexOptions
ProductIndexValueSetBuilder
ProductIndexPopulator
ProductIndexingNotificationHandler
ExamineComposer
Result


A custom index for non-Umbraco data
Last updated
Was this helpful?