Class ExamineManagerService
Provides services for managing Examine indexes and searchers within Umbraco CMS.
Inheritance
object
Namespace: Umbraco.Cms.Api.Management.Services
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class ExamineManagerService : IExamineManagerService
Constructors
View SourceExamineManagerService(IExamineManager)
Initializes a new instance of the ExamineManagerService class.
Declaration
public ExamineManagerService(IExamineManager examineManager)
Parameters
| Type | Name | Description |
|---|---|---|
| IExamineManager | examineManager | The Examine.IExamineManager instance used to manage examine operations. |
Methods
View SourceTryFindSearcher(string, out ISearcher)
Attempts to find a searcher by the given searcher name.
Declaration
public bool TryFindSearcher(string searcherName, out ISearcher searcher)
Parameters
| Type | Name | Description |
|---|---|---|
| string | searcherName | The name of the searcher to find. |
| ISearcher | searcher | When this method returns, contains the found searcher if the searcher was found; otherwise, null. |
Returns
| Type | Description |
|---|---|
| bool | True if the searcher was found; otherwise, false. |