Partager via


IndexDefinition.Shards Property

Definition

The numbers of shards for the index to use.

[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault)]
[System.Text.Json.Serialization.JsonPropertyName("shards")]
public int? Shards { get; set; }
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault)>]
[<System.Text.Json.Serialization.JsonPropertyName("shards")>]
member this.Shards : Nullable<int> with get, set
Public Property Shards As Nullable(Of Integer)

Property Value

Attributes

Applies to