You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/nosql/how-to-manage-indexing-policy.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -273,7 +273,7 @@ An [indexing policy update](../index-policy.md#modifying-the-indexing-policy) tr
273
273
> [!NOTE]
274
274
> When you update indexing policy, writes to Azure Cosmos DB are uninterrupted. Learn more about [indexing transformations](../index-policy.md#modifying-the-indexing-policy)
275
275
276
-
## Use the Azure portal
276
+
###Use the Azure portal
277
277
278
278
Azure Cosmos DB containers store their indexing policy as a JSON document that the Azure portal lets you directly edit.
279
279
@@ -291,15 +291,15 @@ Azure Cosmos DB containers store their indexing policy as a JSON document that t
291
291
292
292
:::image type="content" source="./media/how-to-manage-indexing-policy/indexing-policy-portal.png" alt-text="Manage Indexing using Azure portal":::
293
293
294
-
## Use the Azure CLI
294
+
###Use the Azure CLI
295
295
296
296
To create a container with a custom indexing policy, see [Create a container with a custom index policy using CLI](manage-with-cli.md#create-a-container-with-a-custom-index-policy).
297
297
298
-
## Use PowerShell
298
+
###Use PowerShell
299
299
300
300
To create a container with a custom indexing policy, see [Create a container with a custom index policy using PowerShell](manage-with-powershell.md#create-container-custom-index).
301
301
302
-
## <aid="dotnet-sdk"></a> Use the .NET SDK
302
+
###<aid="dotnet-sdk"></a> Use the .NET SDK
303
303
304
304
# [.NET SDK V3](#tab/dotnetv3)
305
305
@@ -390,7 +390,7 @@ long indexTransformationProgress = container.IndexTransformationProgress;
390
390
391
391
---
392
392
393
-
## Use the Java SDK
393
+
###Use the Java SDK
394
394
395
395
The `DocumentCollection` object from the [Java SDK](https://mvnrepository.com/artifact/com.microsoft.azure/azure-cosmosdb) exposes the `getIndexingPolicy()` and `setIndexingPolicy()` methods. The `IndexingPolicy` object they manipulate lets you change the indexing mode and add or remove included and excluded paths. For more information, see [Quickstart: Build a Java app to manage Azure Cosmos DB for NoSQL data](quickstart-java.md).
The `ContainerDefinition` interface from [Node.js SDK](https://www.npmjs.com/package/@azure/cosmos) exposes an `indexingPolicy` property that lets you change the `indexingMode` and add or remove `includedPaths` and `excludedPaths`. For more information, see [Quickstart - Azure Cosmos DB for NoSQL client library for Node.js](quickstart-nodejs.md).
0 commit comments