• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class DetailsIndexerController

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

    Constructors

    View Source

    DetailsIndexerController(IIndexViewModelFactory, IExamineManager)

    Declaration
    public DetailsIndexerController(IIndexViewModelFactory indexViewModelFactory, IExamineManager examineManager)
    Parameters
    Type Name Description
    IIndexViewModelFactory indexViewModelFactory
    IExamineManager examineManager

    Methods

    View Source

    Details(String)

    Check if the index has been rebuilt

    Declaration
    public async Task<ActionResult<IndexViewModel>> Details(string indexName)
    Parameters
    Type Name Description
    System.String indexName
    Returns
    Type Description
    Task<ActionResult<IndexViewModel>>
    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
      • DetailsIndexerController(IIndexViewModelFactory, IExamineManager)
    • Methods
      • Details(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX