Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the indexing policy configuration for a collection in the Azure Cosmos DB service.
public sealed class IndexingPolicy
type IndexingPolicy = class
Public NotInheritable Class IndexingPolicy
Indexing policies can used to configure which properties (JSON paths) are included/excluded, whether the index is updated consistently or offline (lazy), automatic vs. opt-in per-document, as well as the precision and type of index per path.
Refer to https://docs.microsoft.com/azure/cosmos-db/index-policy for additional information on how to specify indexing policies.
Initializes a new instance of the IndexingPolicy class for the Azure Cosmos DB service.
Gets or sets a value that indicates whether automatic indexing is enabled for a collection in the Azure Cosmos DB service.
Gets the composite indexes for additional indexes
Gets the collection containing ExcludedPath objects in the Azure Cosmos DB service.
Gets the collection containing IncludedPath objects in the Azure Cosmos DB service.
Gets or sets the indexing mode (consistent or lazy) in the Azure Cosmos DB service.
Collection of spatial index definitions to be used