Table of Contents

Class EnvironmentOptions

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

Configures environment-specific settings for index templates.

public sealed class EnvironmentOptions
Inheritance
EnvironmentOptions
Inherited Members

Properties

Name

Gets the current environment name.

public string Name { get; init; }

Property Value

string

The environment name (e.g., Development, Staging, Production).

RefreshInterval

Gets the refresh interval for this environment.

public TimeSpan RefreshInterval { get; init; }

Property Value

TimeSpan

The refresh interval for real-time search. Defaults to 1 second.

ReplicaCount

Gets the replica count for this environment.

public int ReplicaCount { get; init; }

Property Value

int

The number of replicas to maintain. Defaults to 1.

UseDevelopmentSettings

Gets a value indicating whether to apply development optimizations.

public bool UseDevelopmentSettings { get; init; }

Property Value

bool

True to apply development-specific settings, false otherwise.