IndexingPolicy interface

Cosmos DB indexing policy

Properties

automatic

Indicates if the indexing policy is automatic

compositeIndexes

List of composite path list

excludedPaths

List of paths to exclude from indexing

includedPaths

List of paths to include in the indexing

indexingMode

Indicates the indexing mode.

spatialIndexes

List of spatial specifics

Property Details

automatic

Indicates if the indexing policy is automatic

automatic?: boolean

Property Value

boolean

compositeIndexes

List of composite path list

compositeIndexes?: CompositePath[][]

Property Value

excludedPaths

List of paths to exclude from indexing

excludedPaths?: ExcludedPath[]

Property Value

includedPaths

List of paths to include in the indexing

includedPaths?: IncludedPath[]

Property Value

indexingMode

Indicates the indexing mode.

indexingMode?: string

Property Value

string

spatialIndexes

List of spatial specifics

spatialIndexes?: SpatialSpec[]

Property Value