OpenSearch.Client by OpenSearch and contributors

<PackageReference Include="OpenSearch.Client" Version="1.6.0" />

.NET API 3,588,216 bytes

 IDynamicIndexSettings

public interface IDynamicIndexSettings : IIsADictionary<string, object>, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable, IIsADictionary
Dynamic index settings
IAnalysis Analysis { get; set; }

Configure analysis

Auto-expand the number of replicas based on the number of available nodes. Set to a dash delimited lower and upper bound (e.g. 0-5) or use all for the upper bound (e.g. 0-all). Defaults to false (i.e. disabled).

bool? BlocksMetadata { get; set; }

Set to true to disable index metadata reads and writes.

bool? BlocksRead { get; set; }

Set to true to disable read operations against the index.

bool? BlocksReadOnly { get; set; }

Set to true to make the index and index metadata read only, false to allow writes and metadata changes.

bool? BlocksReadOnlyAllowDelete { get; set; }

Set to true to disable read operations, but allow delete operations, against the index.

bool? BlocksWrite { get; set; }

Set to true to disable write operations against the index.

string DefaultPipeline { get; set; }

The default ingest node pipeline for this index. Index requests will fail if the default pipeline is set and the pipeline does not exist. The default may be overridden using the pipeline parameter. The special pipeline name _none indicates no ingest pipeline should be run.`

string FinalPipeline { get; set; }

The final ingest pipeline for this index. Index requests will fail if the final pipeline is set and the pipeline does not exist. The final pipeline always runs after the request pipeline (if specified) and the default pipeline (if it exists). The special pipeline name `_none` indicates no ingest pipeline will run.

IMergeSettings Merge { get; set; }

All of the settings exposed in the merge module are expert only and may be obsoleted in the future at any time!

int? NumberOfReplicas { get; set; }

The number of replicas each primary shard has. Defaults to 1.

int? Priority { get; set; }

Unallocated shards are recovered in order of priority when set

A primary shard is only recovered only if there are enough nodes available to allocate sufficient replicas to form a quorum.

Time RefreshInterval { get; set; }

How often to perform a refresh operation, which makes recent changes to the index visible to search. Defaults to 1s. Can be set to -1 to disable refresh.

bool? RequestsCacheEnabled { get; set; }

Enables the shard-level request cache. Not enabled by default.

The maximum number of shards (replicas and primaries) that will be allocated to a single node. Defaults to unbounded.

ISimilarities Similarity { get; set; }

Configure similarity

ISlowLog SlowLog { get; set; }

Configure logging thresholds and levels in OpenSearch for search/fetch and indexing

Configure translog settings. This should only be used by experts who know what they're doing

The allocation of replica shards which become unassigned because a node has left can be delayed with this dynamic setting, which defaults to 1m.