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