Class DeliveryApiContentIndex
Namespace: Umbraco.Cms.Infrastructure.Examine
Assembly: Umbraco.Examine.Lucene.dll
Syntax
public class DeliveryApiContentIndex : UmbracoExamineIndex, IUmbracoIndex, IIndexDiagnostics
Constructors
View SourceDeliveryApiContentIndex(ILoggerFactory, string, IOptionsMonitor<LuceneDirectoryIndexOptions>, IHostingEnvironment, IRuntimeState, IDeliveryApiCompositeIdHandler)
Declaration
public DeliveryApiContentIndex(ILoggerFactory loggerFactory, string name, IOptionsMonitor<LuceneDirectoryIndexOptions> indexOptions, IHostingEnvironment hostingEnvironment, IRuntimeState runtimeState, IDeliveryApiCompositeIdHandler deliveryApiCompositeIdHandler)
Parameters
| Type | Name | Description |
|---|---|---|
| ILoggerFactory | loggerFactory | |
| string | name | |
| IOptionsMonitor<LuceneDirectoryIndexOptions> | indexOptions | |
| IHostingEnvironment | hostingEnvironment | |
| IRuntimeState | runtimeState | |
| IDeliveryApiCompositeIdHandler | deliveryApiCompositeIdHandler |
Properties
View SourceApplySpecialValueTransformations
Performs special __Path and __Icon value transformations to all deriving indexes when set to true.
Declaration
protected override bool ApplySpecialValueTransformations { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View SourcePerformDeleteFromIndex(IEnumerable<string>, Action<IndexOperationEventArgs>?)
override to check if we can actually initialize.
Declaration
protected override void PerformDeleteFromIndex(IEnumerable<string> itemIds, Action<IndexOperationEventArgs>? onComplete)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | itemIds | ID of the node to delete |
| Action<IndexOperationEventArgs> | onComplete |
Remarks
This check is required since the base examine lib will try to rebuild on startup