Class PublishedContentIndexPopulator
Performs the data lookups required to rebuild a content index containing only published content
Namespace: Umbraco.Cms.Infrastructure.Examine
Assembly: Umbraco.Infrastructure.dll
Syntax
public class PublishedContentIndexPopulator : ContentIndexPopulator, IIndexPopulator
Remarks
The published (external) index will still rebuild just fine using the default ContentIndexPopulator which is what is used when rebuilding all indexes, but this will be used when the single index is rebuilt and will go a little bit faster since the data query is more specific. since the data query is more specific.
Constructors
View SourcePublishedContentIndexPopulator(ILogger<PublishedContentIndexPopulator>, IContentService, IUmbracoDatabaseFactory, IPublishedContentValueSetBuilder)
Declaration
public PublishedContentIndexPopulator(ILogger<PublishedContentIndexPopulator> logger, IContentService contentService, IUmbracoDatabaseFactory umbracoDatabaseFactory, IPublishedContentValueSetBuilder contentValueSetBuilder)
Parameters
Type | Name | Description |
---|---|---|
ILogger<PublishedContentIndexPopulator> | logger | |
IContentService | contentService | |
IUmbracoDatabaseFactory | umbracoDatabaseFactory | |
IPublishedContentValueSetBuilder | contentValueSetBuilder |