Search Results for

    Show / Hide Table of Contents
    View Source

    Class IndexPopulator

    Provides functionality to populate and manage Examine indexes with data in Umbraco.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Examine
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public abstract class IndexPopulator : IIndexPopulator

    Constructors

    View Source

    IndexPopulator()

    Declaration
    protected IndexPopulator()

    Methods

    View Source

    IsRegistered(IIndex)

    Determines whether the specified index is registered.

    Declaration
    public virtual bool IsRegistered(IIndex index)
    Parameters
    Type Name Description
    IIndex index

    The index to check for registration.

    Returns
    Type Description
    bool

    True if the index is registered; otherwise, false.

    View Source

    Populate(params IIndex[])

    Populates the specified indexes by initializing or updating their contents as required. Only indexes that are registered will be populated.

    Declaration
    public void Populate(params IIndex[] indexes)
    Parameters
    Type Name Description
    IIndex[] indexes

    The indexes to populate.

    View Source

    PopulateIndexes(IReadOnlyList<IIndex>)

    Declaration
    protected abstract void PopulateIndexes(IReadOnlyList<IIndex> indexes)
    Parameters
    Type Name Description
    IReadOnlyList<IIndex> indexes
    View Source

    RegisterIndex(string)

    Registers an index for this populator

    Declaration
    public void RegisterIndex(string indexName)
    Parameters
    Type Name Description
    string indexName
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX