Table of Contents

Class IndexOptimizationOptions

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

Represents options for index optimization operations.

public sealed class IndexOptimizationOptions
Inheritance
IndexOptimizationOptions
Inherited Members

Properties

ForceMerge

Gets a value indicating whether to force merge optimization.

public bool ForceMerge { get; init; }

Property Value

bool

True to perform force merge for better search performance.

OptimizeRefreshInterval

Gets a value indicating whether to optimize refresh interval.

public bool OptimizeRefreshInterval { get; init; }

Property Value

bool

True to optimize refresh interval based on usage patterns.

OptimizeReplicaCount

Gets a value indicating whether to optimize replica count.

public bool OptimizeReplicaCount { get; init; }

Property Value

bool

True to adjust replica count based on cluster resources.

TargetSegmentCount

Gets the target number of segments for force merge.

public int? TargetSegmentCount { get; init; }

Property Value

int?

The target segment count. If null, uses Elasticsearch default.