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

IndexingPolicy interface

Cosmos DB 索引策略

属性

automatic

指示索引策略是否自动

compositeIndexes

复合路径列表列表

excludedPaths

要从索引中排除的路径列表

includedPaths

要包含在索引中的路径列表

indexingMode

指示索引模式。

spatialIndexes

空间细节列表

vectorIndexes

要包含在矢量索引中的路径列表

属性详细信息

automatic

指示索引策略是否自动

automatic?: boolean

属性值

boolean

compositeIndexes

复合路径列表列表

compositeIndexes?: CompositePath[][]

属性值

excludedPaths

要从索引中排除的路径列表

excludedPaths?: ExcludedPath[]

属性值

includedPaths

要包含在索引中的路径列表

includedPaths?: IncludedPath[]

属性值

indexingMode

指示索引模式。

indexingMode?: string

属性值

string

spatialIndexes

空间细节列表

spatialIndexes?: SpatialSpec[]

属性值

vectorIndexes

要包含在矢量索引中的路径列表

vectorIndexes?: VectorIndex[]

属性值