Table of Contents

Class DefaultTemplateOptions

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

Default settings for index templates.

public sealed class DefaultTemplateOptions
Inheritance
DefaultTemplateOptions
Inherited Members

Properties

DefaultPriority

Gets the default template priority.

public int DefaultPriority { get; init; }

Property Value

int

The default template priority. Defaults to 100.

DefaultRefreshInterval

Gets the default refresh interval for new indices.

public TimeSpan DefaultRefreshInterval { get; init; }

Property Value

TimeSpan

The default refresh interval. Defaults to 1 second.

DefaultReplicas

Gets the default number of replicas for new indices.

public int DefaultReplicas { get; init; }

Property Value

int

The default replica count. Defaults to 1.

DefaultShards

Gets the default number of shards for new indices.

public int DefaultShards { get; init; }

Property Value

int

The default shard count. Defaults to 1.

Environment

Gets the environment-specific settings.

public EnvironmentOptions Environment { get; init; }

Property Value

EnvironmentOptions

Settings that vary by environment (dev, staging, prod).