View Source
Class ExamineIndexRebuilder
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ExamineIndexRebuilder : IIndexRebuilder
Constructors
View Source
ExamineIndexRebuilder(IMainDom, IRuntimeState, ILogger<ExamineIndexRebuilder>, IExamineManager, IEnumerable<IIndexPopulator>, IBackgroundTaskQueue)
Declaration
public ExamineIndexRebuilder(IMainDom mainDom, IRuntimeState runtimeState, ILogger<ExamineIndexRebuilder> logger, IExamineManager examineManager, IEnumerable<IIndexPopulator> populators, IBackgroundTaskQueue backgroundTaskQueue)
Parameters
Methods
View Source
CanRebuild(String)
Declaration
public bool CanRebuild(string indexName)
Parameters
Type |
Name |
Description |
System.String |
indexName |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
RebuildIndex(String, Nullable<TimeSpan>, Boolean)
Declaration
public virtual void RebuildIndex(string indexName, TimeSpan? delay = null, bool useBackgroundThread = true)
Parameters
Type |
Name |
Description |
System.String |
indexName |
|
System.Nullable<TimeSpan> |
delay |
|
System.Boolean |
useBackgroundThread |
|
View Source
RebuildIndexes(Boolean, Nullable<TimeSpan>, Boolean)
Declaration
public virtual void RebuildIndexes(bool onlyEmptyIndexes, TimeSpan? delay = null, bool useBackgroundThread = true)
Parameters
Type |
Name |
Description |
System.Boolean |
onlyEmptyIndexes |
|
System.Nullable<TimeSpan> |
delay |
|
System.Boolean |
useBackgroundThread |
|