diff --git a/Umbraco.Docs.Samples.Web/CustomIndexing/ProductIndexValueSetBuilder.cs b/Umbraco.Docs.Samples.Web/CustomIndexing/ProductIndexValueSetBuilder.cs index 8ef01ef..336a0c9 100644 --- a/Umbraco.Docs.Samples.Web/CustomIndexing/ProductIndexValueSetBuilder.cs +++ b/Umbraco.Docs.Samples.Web/CustomIndexing/ProductIndexValueSetBuilder.cs @@ -1,4 +1,4 @@ -using Examine; +using Examine; using Umbraco.Cms.Core.Models; using Umbraco.Cms.Infrastructure.Examine; @@ -16,7 +16,7 @@ public IEnumerable<ValueSet> GetValueSets(params IContent[] contents) ["id"] = content.Id, }; - yield return new ValueSet(content.Id.ToString(), "content", indexValues); + yield return new ValueSet(content.Id.ToString(), "content",content.ContentType.Alias,indexValues); } } }