Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IUmbracoIndex

    A Marker interface for defining an Umbraco indexer

    Namespace: Umbraco.Cms.Infrastructure.Examine
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IUmbracoIndex : IIndex, IIndexStats

    Properties

    View Source

    EnableDefaultEventHandler

    When set to true Umbraco will keep the index in sync with Umbraco data automatically

    Declaration
    bool EnableDefaultEventHandler { get; }
    Property Value
    Type Description
    bool
    View Source

    PublishedValuesOnly

    When set to true the index will only retain published values

    Declaration
    bool PublishedValuesOnly { get; }
    Property Value
    Type Description
    bool
    Remarks

    Any non-published values will not be put or kept in the index:

    • Deleted, Trashed, non-published Content items
    • non-published Variants
    View Source

    SupportProtectedContent

    Whether the index can contain protected content

    Declaration
    bool SupportProtectedContent { get; }
    Property Value
    Type Description
    bool
    Remarks

    To retain backwards compatability, the default value is true

    View Source

    UniqueKeyFieldName

    The name of the index field that contains the unique entity key (GUID). Used by the backoffice Examine dashboard to construct edit links for search results.

    Declaration
    string UniqueKeyFieldName { get; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX