共用方式為


IndexingPolicy Class

Definition

Cosmos DB indexing policy

public class IndexingPolicy
type IndexingPolicy = class
Public Class IndexingPolicy
Inheritance
IndexingPolicy

Constructors

IndexingPolicy()

Initializes a new instance of the IndexingPolicy class.

IndexingPolicy(Nullable<Boolean>, String, IList<IncludedPath>, IList<ExcludedPath>, IList<IList<CompositePath>>, IList<SpatialSpec>)

Initializes a new instance of the IndexingPolicy class.

Properties

Automatic

Gets or sets indicates if the indexing policy is automatic

CompositeIndexes

Gets or sets list of composite path list

ExcludedPaths

Gets or sets list of paths to exclude from indexing

IncludedPaths

Gets or sets list of paths to include in the indexing

IndexingMode

Gets or sets indicates the indexing mode. Possible values include: 'consistent', 'lazy', 'none'

SpatialIndexes

Gets or sets list of spatial specifics

Applies to