View Source
Class LuceneIndexDiagnostics
Inheritance
System.Object
Assembly: Umbraco.Examine.Lucene.dll
Syntax
public class LuceneIndexDiagnostics : IIndexDiagnostics
Constructors
View Source
LuceneIndexDiagnostics(LuceneIndex, ILogger<LuceneIndexDiagnostics>, IHostingEnvironment, Nullable<IOptionsMonitor<LuceneDirectoryIndexOptions>>)
Declaration
public LuceneIndexDiagnostics(LuceneIndex index, ILogger<LuceneIndexDiagnostics> logger, IHostingEnvironment hostingEnvironment, IOptionsMonitor<LuceneDirectoryIndexOptions>? indexOptions)
Parameters
Properties
View Source
Index
Declaration
public LuceneIndex Index { get; }
Property Value
Type |
Description |
LuceneIndex |
|
View Source
Logger
Declaration
public ILogger<LuceneIndexDiagnostics> Logger { get; }
Property Value
View Source
Declaration
public virtual 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> |
|