Search Results for

    Show / Hide Table of Contents

    Interface IUmbracoIndexingHandler

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

    Properties

    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

    DeleteDocumentsForContentTypes(IReadOnlyCollection<Int32>)

    Deletes all documents for the content type Ids

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

    DeleteIndexForEntities(IReadOnlyCollection<Int32>, Boolean)

    Remove items from an index

    Declaration
    void DeleteIndexForEntities(IReadOnlyCollection<int> entityIds, bool keepIfUnpublished)
    Parameters
    Type Name Description
    System.Collections.Generic.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.

    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.

    ReIndexForContent(IContent, Boolean)

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

    ReIndexForMedia(IMedia, Boolean)

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

    ReIndexForMember(IMember)

    Declaration
    void ReIndexForMember(IMember member)
    Parameters
    Type Name Description
    IMember member
    In This Article
    • Properties
      • Enabled
    • Methods
      • DeleteDocumentsForContentTypes(IReadOnlyCollection<Int32>)
      • DeleteIndexForEntities(IReadOnlyCollection<Int32>, Boolean)
      • DeleteIndexForEntity(Int32, Boolean)
      • ReIndexForContent(IContent, Boolean)
      • ReIndexForMedia(IMedia, Boolean)
      • ReIndexForMember(IMember)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX