Search Results for

    Show / Hide Table of Contents
    View Source

    Class GenericIndexDiagnostics

    Used to return diagnostic data for any index

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Examine
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class GenericIndexDiagnostics : IIndexDiagnostics

    Constructors

    View Source

    GenericIndexDiagnostics(IIndex)

    Declaration
    public GenericIndexDiagnostics(IIndex index)
    Parameters
    Type Name Description
    IIndex index

    Properties

    View Source

    DocumentCount

    Declaration
    public int DocumentCount { get; }
    Property Value
    Type Description
    System.Int32
    View Source

    FieldCount

    Declaration
    public int FieldCount { get; }
    Property Value
    Type Description
    System.Int32
    View Source

    Metadata

    Declaration
    public IReadOnlyDictionary<string, object> Metadata { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<System.String, System.Object>

    Methods

    View Source

    GetDocumentCount()

    Declaration
    public long GetDocumentCount()
    Returns
    Type Description
    System.Int64
    View Source

    GetFieldNames()

    Declaration
    public IEnumerable<string> GetFieldNames()
    Returns
    Type Description
    IEnumerable<System.String>
    View Source

    IsHealthy()

    Declaration
    public Attempt<string> IsHealthy()
    Returns
    Type Description
    Attempt<System.String>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • GenericIndexDiagnostics(IIndex)
    • Properties
      • DocumentCount
      • FieldCount
      • Metadata
    • Methods
      • GetDocumentCount()
      • GetFieldNames()
      • IsHealthy()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX