Table of Contents

Class IndexRolloverResult

Namespace
Excalibur.Data.ElasticSearch.IndexManagement
Assembly
Excalibur.Data.ElasticSearch.dll

Represents the result of an index rollover operation.

public sealed class IndexRolloverResult
Inheritance
IndexRolloverResult
Inherited Members

Properties

Errors

Gets the collection of rollover errors, if any.

public IEnumerable<string> Errors { get; init; }

Property Value

IEnumerable<string>

A collection of error messages.

IsSuccessful

Gets a value indicating whether the rollover operation was successful.

public required bool IsSuccessful { get; init; }

Property Value

bool

True if rollover was successful, false otherwise.

NewIndex

Gets the new index name created by rollover.

public string? NewIndex { get; init; }

Property Value

string

The name of the new index.

OldIndex

Gets the old index name.

public string? OldIndex { get; init; }

Property Value

string

The name of the old index.

RolledOver

Gets a value indicating whether a rollover was actually performed.

public required bool RolledOver { get; init; }

Property Value

bool

True if rollover was performed, false if conditions were not met.