Class OptimizationOptions
- Namespace
- Excalibur.Data.ElasticSearch.IndexManagement
- Assembly
- Excalibur.Data.ElasticSearch.dll
Configures index optimization settings.
public sealed class OptimizationOptions
- Inheritance
-
OptimizationOptions
- Inherited Members
Properties
AutoOptimize
Gets a value indicating whether automatic optimization is enabled.
public bool AutoOptimize { get; init; }
Property Value
- bool
True to enable automatic optimization, false otherwise.
CompressionLevel
Gets the compression level for stored fields.
public string CompressionLevel { get; init; }
Property Value
- string
The compression level (best_speed or best_compression). Defaults to "best_compression".
ForceMergeOnRollover
Gets a value indicating whether to force merge on rollover.
public bool ForceMergeOnRollover { get; init; }
Property Value
- bool
True to force merge old indices, false otherwise.
MaxSegmentsPerTier
Gets the maximum segments per tier.
public int MaxSegmentsPerTier { get; init; }
Property Value
- int
The maximum number of segments. Defaults to 10.
MergePolicy
Gets the merge policy for segments.
public string MergePolicy { get; init; }
Property Value
- string
The merge policy name. Defaults to "tiered".