Table of Contents

Class OpenSearchConfigurationOptions

Namespace
Excalibur.Data.OpenSearch
Assembly
Excalibur.Data.OpenSearch.dll

Configures the connection target for the OpenSearch client this package registers.

public sealed class OpenSearchConfigurationOptions
Inheritance
OpenSearchConfigurationOptions
Inherited Members

Remarks

Bound by AddExcaliburOpenSearch(os => os.BindConfiguration(...)). Exactly one of Url or Urls must be set; Urls selects a round-robin static connection pool. Retry, timeout, and circuit-breaker behaviour are configured on the ConnectionSettings you supply to the client, not here.

Properties

Url

Gets the URL of the OpenSearch cluster.

public Uri? Url { get; init; }

Property Value

Uri

A Uri representing the base URL of the OpenSearch cluster. This property is required when using single-node configuration.

Urls

Gets the collection of URLs for multi-node cluster configuration.

public IEnumerable<Uri>? Urls { get; init; }

Property Value

IEnumerable<Uri>

A collection of Uri representing the URLs of the OpenSearch cluster nodes. Used for cluster configuration with connection pooling.