你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IndexingPolicy.CompositeIndexes 属性

定义

获取其他索引的复合索引

[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))

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

示例

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

适用于