Skip to content

Commit bb4e0d8

Browse files
authored
Update how-to-create-wildcard-indexes.md
1 parent a66ba73 commit bb4e0d8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/cosmos-db/mongodb/vcore/how-to-create-wildcard-indexes.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ sudo apt update
8181
sudo apt install openjdk-21-jdk
8282
```
8383

84-
### Sample jar to create individual indexes for all fields
84+
## Sample jar to create individual indexes for all fields
8585

8686
Clone the repository containing the Java sample to iterate through each field in the JSON document's structure and issue createIndex operations for each field in the document.
8787

@@ -99,7 +99,7 @@ The cloned repository does not need to be built if there are no changes to be ma
9999
java -jar azure-cosmosdb-mongo-data-indexer-1.0-SNAPSHOT.jar mongodb+srv://<user>:<password>@abinav-test-benchmarking.global.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000 cosmicworks employee sampleEmployee.json
100100
```
101101

102-
### Track the status of a createIndex operation
102+
## Track the status of a createIndex operation
103103
The jar file is designed to not wait on a response from each createIndex operation. The indexes are created asynchronously on the server and the progress of the index build operation on the cluster can be tracked.
104104

105105
Consider this sample to track indexing progress on the 'cosmicworks' database.
@@ -145,4 +145,6 @@ When a createIndex operation is in progress, the response looks like:
145145

146146
## Related content
147147

148+
Check out the full sample here - https://github.com/Azure-Samples/cosmosdb-mongodb-vcore-wildcard-indexing
149+
148150
Check out [indexing best practices](how-to-create-indexes.md), which details best practices for indexing on Azure Cosmos DB for MongoDB vCore.

0 commit comments

Comments
 (0)