Share via


IndexingPolicy.CompositeIndexes Property

Definition

Gets or sets the additonal composite indexes

[Newtonsoft.Json.JsonProperty(PropertyName="compositeIndexes")]
public System.Collections.ObjectModel.Collection<System.Collections.ObjectModel.Collection<Microsoft.Azure.Documents.CompositePath>> CompositeIndexes { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="compositeIndexes")>]
member this.CompositeIndexes : System.Collections.ObjectModel.Collection<System.Collections.ObjectModel.Collection<Microsoft.Azure.Documents.CompositePath>> with get, set
Public 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