Table of Contents

Class ComponentTemplateConfiguration

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

Represents the configuration for an Elasticsearch component template.

public sealed class ComponentTemplateConfiguration
Inheritance
ComponentTemplateConfiguration
Inherited Members

Remarks

The SettingsJson and MappingsJson properties accept opaque JSON payloads so that consumers are not coupled to a specific Elasticsearch SDK version.

Properties

MappingsJson

Gets the field mappings as opaque JSON.

public JsonElement? MappingsJson { get; init; }

Property Value

JsonElement?

The type mapping configuration as a JSON element, or null if not specified.

Metadata

Gets custom metadata associated with this component template.

public Dictionary<string, object?>? Metadata { get; init; }

Property Value

Dictionary<string, object>

A dictionary of metadata key-value pairs.

SettingsJson

Gets the template settings as opaque JSON.

public JsonElement? SettingsJson { get; init; }

Property Value

JsonElement?

The index settings configuration as a JSON element, or null if not specified.

Version

Gets the version of this component template.

public long? Version { get; init; }

Property Value

long?

The component template version number.