View Source
Class GenericIndexDiagnostics
Used to return diagnostic data for any index
Inheritance
System.Object
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
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> |
|