View Source
Class DeliveryApiContentIndex
Inheritance
System.Object
Assembly: Umbraco.Examine.Lucene.dll
Syntax
public class DeliveryApiContentIndex : UmbracoExamineIndex, IUmbracoIndex, IIndexDiagnostics
Constructors
View Source
DeliveryApiContentIndex(ILoggerFactory, String, IOptionsMonitor<LuceneDirectoryIndexOptions>, IHostingEnvironment, IRuntimeState)
Declaration
public DeliveryApiContentIndex(ILoggerFactory loggerFactory, string name, IOptionsMonitor<LuceneDirectoryIndexOptions> indexOptions, IHostingEnvironment hostingEnvironment, IRuntimeState runtimeState)
Parameters
Type |
Name |
Description |
ILoggerFactory |
loggerFactory |
|
System.String |
name |
|
IOptionsMonitor<LuceneDirectoryIndexOptions> |
indexOptions |
|
IHostingEnvironment |
hostingEnvironment |
|
IRuntimeState |
runtimeState |
|
View Source
DeliveryApiContentIndex(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 |
|
System.String |
name |
|
IOptionsMonitor<LuceneDirectoryIndexOptions> |
indexOptions |
|
IHostingEnvironment |
hostingEnvironment |
|
IRuntimeState |
runtimeState |
|
IDeliveryApiCompositeIdHandler |
deliveryApiCompositeIdHandler |
|
Properties
View Source
ApplySpecialValueTransformations
Declaration
protected override bool ApplySpecialValueTransformations { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
View Source
PerformDeleteFromIndex(IEnumerable<String>, Nullable<Action<IndexOperationEventArgs>>)
Deletes a node from the index.
Declaration
protected override void PerformDeleteFromIndex(IEnumerable<string> itemIds, Action<IndexOperationEventArgs>? onComplete)
Parameters
Type |
Name |
Description |
IEnumerable<System.String> |
itemIds |
ID of the node to delete
|
System.Nullable<Action<IndexOperationEventArgs>> |
onComplete |
|