View Source
Class ExamineManagementController
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[PluginController("UmbracoApi")]
public class ExamineManagementController : UmbracoAuthorizedJsonController, IDiscoverable
Constructors
View Source
ExamineManagementController(IExamineManager, ILogger, AppCaches, IndexRebuilder)
Declaration
public ExamineManagementController(IExamineManager examineManager, ILogger logger, AppCaches appCaches, IndexRebuilder indexRebuilder)
Parameters
Type |
Name |
Description |
IExamineManager |
examineManager |
|
ILogger |
logger |
|
AppCaches |
appCaches |
|
Umbraco.Examine.IndexRebuilder |
indexRebuilder |
|
Methods
View Source
GetIndexerDetails()
Get the details for indexers
Declaration
public IEnumerable<ExamineIndexModel> GetIndexerDetails()
Returns
View Source
GetSearcherDetails()
Get the details for searchers
Declaration
public IEnumerable<ExamineSearcherModel> GetSearcherDetails()
Returns
View Source
GetSearchResults(String, String, Int32, Int32)
Declaration
public SearchResults GetSearchResults(string searcherName, string query, int pageIndex = 0, int pageSize = 20)
Parameters
Type |
Name |
Description |
System.String |
searcherName |
|
System.String |
query |
|
System.Int32 |
pageIndex |
|
System.Int32 |
pageSize |
|
Returns
View Source
PostCheckRebuildIndex(String)
Check if the index has been rebuilt
Declaration
public ExamineIndexModel PostCheckRebuildIndex(string indexName)
Parameters
Type |
Name |
Description |
System.String |
indexName |
|
Returns
View Source
PostRebuildIndex(String)
Declaration
public HttpResponseMessage PostRebuildIndex(string indexName)
Parameters
Type |
Name |
Description |
System.String |
indexName |
|
Returns
Type |
Description |
HttpResponseMessage |
|