Class GenericIndexDiagnostics
Used to return diagnostic data for any index
Inheritance
System.Object
Assembly: cs.temp.dll.dll
Syntax
public class GenericIndexDiagnostics : IIndexDiagnostics
Constructors
GenericIndexDiagnostics(IIndex)
Declaration
public GenericIndexDiagnostics(IIndex index)
Parameters
Type |
Name |
Description |
IIndex |
index |
|
Properties
DocumentCount
Declaration
public int DocumentCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
FieldCount
Declaration
public int FieldCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public IReadOnlyDictionary<string, object> Metadata { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> |
|
Methods
GetDocumentCount()
Declaration
public long GetDocumentCount()
Returns
Type |
Description |
System.Int64 |
|
GetFieldNames()
Declaration
public IEnumerable<string> GetFieldNames()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
IsHealthy()
Declaration
public Attempt<string> IsHealthy()
Returns
Type |
Description |
Attempt<System.String> |
|