From d9d5756e88c3f1b793eb5ed4cd7d36eddb61a4d0 Mon Sep 17 00:00:00 2001 From: Marc Goodson Date: Thu, 27 Apr 2023 21:30:55 +0100 Subject: [PATCH] Register ConfigureProductIndexOptions with ConfigureOptions --- Umbraco.Docs.Samples.Web/CustomIndexing/ExamineComposer.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Umbraco.Docs.Samples.Web/CustomIndexing/ExamineComposer.cs b/Umbraco.Docs.Samples.Web/CustomIndexing/ExamineComposer.cs index 2638a8a..d827a5b 100644 --- a/Umbraco.Docs.Samples.Web/CustomIndexing/ExamineComposer.cs +++ b/Umbraco.Docs.Samples.Web/CustomIndexing/ExamineComposer.cs @@ -7,12 +7,17 @@ namespace Umbraco.Docs.Samples.Web.CustomIndexing public class ExamineComposer : IComposer { public void Compose(IUmbracoBuilder builder) - { + { + builder.Services.AddExamineLuceneIndex("ProductIndex"); + builder.Services.ConfigureOptions(); + builder.Services.AddSingleton(); builder.Services.AddSingleton(); + + } } } \ No newline at end of file