Search Results for

    Show / Hide Table of Contents
    View Source

    Class IndexExamineManagementController

    Inheritance
    System.Object
    ManagementApiControllerBase
    ExamineManagementControllerBase
    Namespace: Umbraco.Cms.ManagementApi.Controllers.ExamineManagement
    Assembly: Umbraco.Cms.ManagementApi.dll
    Syntax
    public class IndexExamineManagementController : ExamineManagementControllerBase

    Constructors

    View Source

    IndexExamineManagementController(IExamineIndexViewModelFactory, IExamineManager)

    Declaration
    public IndexExamineManagementController(IExamineIndexViewModelFactory examineIndexViewModelFactory, IExamineManager examineManager)
    Parameters
    Type Name Description
    IExamineIndexViewModelFactory examineIndexViewModelFactory
    IExamineManager examineManager

    Methods

    View Source

    Index(String)

    Check if the index has been rebuilt

    Declaration
    public async Task<ActionResult<ExamineIndexViewModel>> Index(string indexName)
    Parameters
    Type Name Description
    System.String indexName
    Returns
    Type Description
    Task<ActionResult<ExamineIndexViewModel>>
    Remarks

    This is kind of rudimentary since there's no way we can know that the index has rebuilt, we have a listener for the index op complete so we'll just check if that key is no longer there in the runtime cache

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • IndexExamineManagementController(IExamineIndexViewModelFactory, IExamineManager)
    • Methods
      • Index(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX