Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IUmbracoIndexingHandler

    Namespace: Umbraco.Cms.Infrastructure.Search
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IUmbracoIndexingHandler

    Properties

    View Source

    Enabled

    Returns true if the indexing handler is enabled

    Declaration
    bool Enabled { get; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    If this is false then there will be no data lookups executed to populate indexes when service changes are made.

    Methods

    View Source

    DeleteDocumentsForContentTypes(IReadOnlyCollection<Int32>)

    Deletes all documents for the content type Ids

    Declaration
    void DeleteDocumentsForContentTypes(IReadOnlyCollection<int> removedContentTypes)
    Parameters
    Type Name Description
    IReadOnlyCollection<System.Int32> removedContentTypes
    View Source

    DeleteIndexForEntities(IReadOnlyCollection<Int32>, Boolean)

    Remove items from an index

    Declaration
    void DeleteIndexForEntities(IReadOnlyCollection<int> entityIds, bool keepIfUnpublished)
    Parameters
    Type Name Description
    IReadOnlyCollection<System.Int32> entityIds
    System.Boolean keepIfUnpublished

    If true, indicates that we will only delete this item from indexes that don't support unpublished content. If false it will delete this from all indexes regardless.

    View Source

    DeleteIndexForEntity(Int32, Boolean)

    Remove an item from an index

    Declaration
    void DeleteIndexForEntity(int entityId, bool keepIfUnpublished)
    Parameters
    Type Name Description
    System.Int32 entityId
    System.Boolean keepIfUnpublished

    If true, indicates that we will only delete this item from indexes that don't support unpublished content. If false it will delete this from all indexes regardless.

    View Source

    ReIndexForContent(IContent, Boolean)

    Declaration
    void ReIndexForContent(IContent sender, bool isPublished)
    Parameters
    Type Name Description
    IContent sender
    System.Boolean isPublished
    View Source

    ReIndexForMedia(IMedia, Boolean)

    Declaration
    void ReIndexForMedia(IMedia sender, bool isPublished)
    Parameters
    Type Name Description
    IMedia sender
    System.Boolean isPublished
    View Source

    ReIndexForMember(IMember)

    Declaration
    void ReIndexForMember(IMember member)
    Parameters
    Type Name Description
    IMember member
    View Source

    RemoveProtectedContent()

    Removes any content that is flagged as protected

    Declaration
    void RemoveProtectedContent()
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Enabled
    • Methods
      • DeleteDocumentsForContentTypes(IReadOnlyCollection<Int32>)
      • DeleteIndexForEntities(IReadOnlyCollection<Int32>, Boolean)
      • DeleteIndexForEntity(Int32, Boolean)
      • ReIndexForContent(IContent, Boolean)
      • ReIndexForMedia(IMedia, Boolean)
      • ReIndexForMember(IMember)
      • RemoveProtectedContent()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX