Skip to content

Commit a2165c0

Browse files
committed
2 parents f18f8fa + a4e9b80 commit a2165c0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docs/administrator/mongo_indices.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88

99

10-
| :warning: | For the fastest processing, ensure that your indexes fit entirely in RAM so that the system can avoid reading the index from disk. |
10+
| :warning: | For the fastest processing, ensure that your indices fit entirely in RAM so that the system can avoid reading the index from disk. |
1111
|:----:|:----|
1212

1313
## Why indexing my collections?
@@ -46,14 +46,15 @@ The concept of an index in MongoDB is the same as in relational databases. An in
4646
|:-----------:|:----------------------------------:|
4747
| user | userSourcedId, orgId, tenantId |
4848
| line_item | lineitemSourcedId, orgId, tenantId |
49-
| primary_key | result.sourcedId, orgId, tenantId |
49+
|composite_key| result.sourcedId, orgId, tenantId |
50+
| most_recent | result.date, orgId, tenantId |
5051

5152
<br>
5253

5354
### MongoUser
5455
| Index | Keys |
5556
|:-----------:|:--------------------------------:|
56-
| primary_key | user.sourcedId, orgId, tenantId |
57+
|composite_key| user.sourcedId, orgId, tenantId |
5758

5859

5960
<br>

0 commit comments

Comments
 (0)