Cmdlets for Azure Cosmos DB

Build 24.0.9062

ForceQueryOnNonIndexedContainers Parameter (Connect-CosmosDB Cmdlet)

Force the use of an index scan to process the query if indexing is disabled or the right index path is not available.

Syntax

Connect-CosmosDB -ForceQueryOnNonIndexedContainers SwitchParameter

Data Type

bool

Default Value

false

Remarks

Queries against containers where indexing is disabled or paths are excluded may fail. Set this property to true to force the use of indexing on the server so the query is processed successfully. By default, queries that require the use of indexing on containers where IndexingMode=None are handled client-side.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062