Share via


IndexingPolicy.CompositeIndexes Property

Definition

Gets the composite indexes for additional indexes

[Newtonsoft.Json.JsonProperty(PropertyName="compositeIndexes")]
public System.Collections.ObjectModel.Collection<System.Collections.ObjectModel.Collection<Microsoft.Azure.Cosmos.CompositePath>> CompositeIndexes { get; }
[<Newtonsoft.Json.JsonProperty(PropertyName="compositeIndexes")>]
member this.CompositeIndexes : System.Collections.ObjectModel.Collection<System.Collections.ObjectModel.Collection<Microsoft.Azure.Cosmos.CompositePath>>
Public ReadOnly Property CompositeIndexes As Collection(Of Collection(Of CompositePath))

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Examples

"composite": [ [ { "path": "/joining_year", "order": "ascending" }, { "path": "/level", "order": "descending" } ], [ { "path": "/country" }, { "path": "/city" } ] ]

Applies to