Skip to content

Commit 2ef675f

Browse files
authored
Update how-to-create-indexes.md
Updated a spelling error and fixed the author and ms.author details.
1 parent c4e6071 commit 2ef675f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Indexing Best Practices in Azure Cosmos DB for MongoDB vCore
33
titleSuffix: Azure Cosmos DB for MongoDB vCore
44
description: Use create Indexing for empty collections in Azure Cosmos DB for MongoDB vCore.
5-
author: abramees
5+
author: abinav2307
66
ms.author: abrameesh
77
ms.reviewer: sidandrews
88
ms.service: cosmos-db
@@ -16,7 +16,7 @@ ms.date: 6/24/2024
1616
[!INCLUDE[MongoDB vCore](~/reusable-content/ce-skilling/azure/includes/cosmos-db/includes/appliesto-mongodb-vcore.md)]
1717

1818
## Queryable fields should always have indexes created
19-
Read operations based on predicates and aggregates consult the index for the corresponding filters. In the absence of indexes, the database engine performs a document scan to retrieve the matching documents. Scans are always expensive and get progressively more expensive as the volume of data in a collection grows. For optimal queri performance, indexes should always be created for all queryable fields.
19+
Read operations based on predicates and aggregates consult the index for the corresponding filters. In the absence of indexes, the database engine performs a document scan to retrieve the matching documents. Scans are always expensive and get progressively more expensive as the volume of data in a collection grows. For optimal query performance, indexes should always be created for all queryable fields.
2020

2121
## Avoid unnecessary indexes and indexing all fields by default
2222
Indexes should be created only for queryable fields. Wildcard indexing should be used only when query patterns are unpredictable where any field in the document structure can be part of query filters.

0 commit comments

Comments
 (0)