Class LifecycleManagementOptions
- Namespace
- Excalibur.Data.ElasticSearch.IndexManagement
- Assembly
- Excalibur.Data.ElasticSearch.dll
Configures index lifecycle management settings.
public sealed class LifecycleManagementOptions
- Inheritance
-
LifecycleManagementOptions
- Inherited Members
Properties
ColdPhaseDuration
Gets the cold phase duration.
public TimeSpan ColdPhaseDuration { get; init; }
Property Value
- TimeSpan
The duration of the cold phase. Defaults to 90 days.
DeleteAfterColdPhase
Gets a value indicating whether to delete indices after the cold phase.
public bool DeleteAfterColdPhase { get; init; }
Property Value
- bool
True to delete old indices, false to keep them indefinitely.
Enabled
Gets a value indicating whether lifecycle management is enabled.
public bool Enabled { get; init; }
Property Value
- bool
True to enable lifecycle management, false otherwise.
HotPhaseDuration
Gets the hot phase duration.
public TimeSpan HotPhaseDuration { get; init; }
Property Value
- TimeSpan
The duration of the hot phase. Defaults to 7 days.
WarmPhaseDuration
Gets the warm phase duration.
public TimeSpan WarmPhaseDuration { get; init; }
Property Value
- TimeSpan
The duration of the warm phase. Defaults to 30 days.