Class IndexHealthStatus
- Namespace
- Excalibur.Data.ElasticSearch.IndexManagement
- Assembly
- Excalibur.Data.ElasticSearch.dll
Represents the health status of an index.
public sealed class IndexHealthStatus
- Inheritance
-
IndexHealthStatus
- Inherited Members
Properties
DocumentCount
Gets the total number of documents.
public long DocumentCount { get; init; }
Property Value
- long
The total document count in the index.
IndexName
Gets the name of the index.
public required string IndexName { get; init; }
Property Value
- string
The index name.
PrimaryShards
Gets the number of primary shards.
public int PrimaryShards { get; init; }
Property Value
- int
The number of primary shards in the index.
ReplicaShards
Gets the number of replica shards.
public int ReplicaShards { get; init; }
Property Value
- int
The number of replica shards in the index.
Status
Gets the health status of the index.
public required string Status { get; init; }
Property Value
- string
The health status (green, yellow, red).
TotalSize
Gets the total size of the index.
public string? TotalSize { get; init; }
Property Value
- string
The total size of the index including replicas.