Search Results for

    Show / Hide Table of Contents
    View Source

    Class DetailsIndexerController

    Inheritance
    System.Object
    ManagementApiControllerBase
    IndexerControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.Indexer
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class DetailsIndexerController : IndexerControllerBase

    Constructors

    View Source

    DetailsIndexerController(IIndexPresentationFactory, IExamineManager)

    Declaration
    public DetailsIndexerController(IIndexPresentationFactory indexPresentationFactory, IExamineManager examineManager)
    Parameters
    Type Name Description
    IIndexPresentationFactory indexPresentationFactory
    IExamineManager examineManager

    Methods

    View Source

    Details(CancellationToken, String)

    Check if the index has been rebuilt

    Declaration
    public async Task<ActionResult<IndexResponseModel>> Details(CancellationToken cancellationToken, string indexName)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    System.String indexName
    Returns
    Type Description
    Task<ActionResult<IndexResponseModel>>
    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 id is no longer there in the runtime cache

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