Skip to content

Commit 2bd705b

Browse files
authored
DOCSP-36851: fy2025q1 typos (#113)
1 parent 804df7e commit 2bd705b

File tree

10 files changed

+28
-29
lines changed

10 files changed

+28
-29
lines changed

source/fundamentals/aggregation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ limitations:
102102
- Returned documents must not violate the :manual:`BSON document size
103103
limit </reference/limits/#BSON-Document-Size>` of 16 megabytes.
104104
- Pipeline stages have a memory limit of 100 megabytes by default. If
105-
required, you may exceed this limit by setting the `allow_disk_use
105+
required, you can exceed this limit by setting the `allow_disk_use
106106
<{+api+}/options/struct.AggregateOptions.html#structfield.allow_disk_use>`__
107107
field in your ``AggregateOptions``.
108108
- The :manual:`$graphLookup

source/fundamentals/collations.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Applying a collation to an operation overrides any collation previously defined
296296
collection or index.
297297

298298
If you apply a collation to an operation that differs from an index's collation, you
299-
cannot use that index. As a result, the operation may not perform as efficiently as one that
299+
cannot use that index. As a result, the operation might not perform as efficiently as one that
300300
is covered by an index. For more information on the disadvantages of sorting operations
301301
not covered by an index, see :manual:`Using Indexes to Sort Query Results </tutorial/sort-results-with-indexes/>`
302302
in the Server manual.

source/fundamentals/connections/connection-guide.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ set with these specifications:
210210
When connecting to a replica set, the driver takes the following actions by default:
211211

212212
- Discovers all replica set members when given the address of any one member.
213-
- Dispatches operations to the appropriate member, such as instructions
213+
- Sends operations to the appropriate member, such as instructions
214214
to write against the **primary** node. To learn more about the replica
215215
set primary, see :manual:`Replica Set Primary </core/replica-set-primary/>` in the Server manual.
216216

source/fundamentals/crud/read-operations/cursor.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ You can access cursor results as a stream to retrieve individual documents
146146
or collect multiple documents at once.
147147

148148
The ``Cursor`` type implements the ``Stream`` trait, so you can iterate
149-
through the cursor as a stream. This pattern may help you write more
150-
concise code than the built-in pattern, because the ``Stream`` extension trait
151-
``StreamExt`` provides numerous functions to combine operations and
152-
consolidate code.
149+
through a cursor as a stream. You can use this pattern to help you
150+
write more concise code than with the built-in pattern, because the
151+
``Stream`` extension trait ``StreamExt`` provides numerous functions to
152+
combine operations and consolidate code.
153153

154154
You can use the following methods to use the stream pattern:
155155

source/fundamentals/crud/write-operations/insert.txt

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,19 @@ This guide includes the following sections:
4949
The _id Field
5050
-------------
5151

52-
In MongoDB, each document *must* contain a unique ``_id`` field.
53-
MongoDB allows you to manage this field in the following ways:
54-
55-
- Manage this field yourself, ensuring that each ``_id`` value you set
56-
is unique.
57-
- Let the driver automatically generate unique ``ObjectId`` values. The
58-
driver generates a unique ``ObjectId`` value for each document if you do
59-
not specify a value for the ``_id`` field when performing an insert.
52+
In a MongoDB collection, each document *must* contain a unique ``_id``
53+
field value. The driver automatically generates a unique value for each
54+
document as an ``ObjectId`` type when you insert data into a
55+
collection.
6056

61-
Unless you provide strong guarantees for uniqueness, we recommend that
62-
you let the driver automatically generate ``_id`` values for your
63-
documents.
57+
If you prefer to set custom values, you can assign the values in
58+
the ``_id`` fields of documents passed to your insert operation.
6459

6560
.. important:: Duplicate _id Values
6661

67-
If you attempt to perform a write operation that includes duplicate ``_id``
68-
values, the duplicate values violate unique index constraints and cause
69-
the write operation to fail.
62+
If you attempt to insert documents that
63+
include duplicate ``_id`` values, these values violate unique
64+
index constraints and cause the write operation to fail.
7065

7166
To learn more about the ``_id`` field, see :manual:`Unique Indexes
7267
</core/index-unique/>` in the Server manual.

source/fundamentals/database-collection.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Overview
1616
In this guide, you can learn how to use the {+driver-short+} to access
1717
and manage MongoDB databases and collections.
1818

19-
MongoDB organizes data in a hierarchal structure. A MongoDB
19+
MongoDB organizes data in a hierarchical structure. A MongoDB
2020
deployment contains one or more **databases**, and each database
2121
contains one or more **collections**. In each collection, MongoDB stores
2222
data as **documents** that contain field-and-value pairs.

source/fundamentals/stable-api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The {+stable-api+} feature forces the server to run operations with
3434
behaviors that are compatible with the **API version** you specify. An API
3535
version defines the expected behavior of the operations it covers and
3636
the format of server responses. The operations and the server responses
37-
may differ depending on the API version you specify.
37+
might differ depending on the API version you specify.
3838

3939
When you use the {+stable-api+} feature with an official MongoDB driver, you
4040
can update your driver or server without worrying about backward

source/op-error-handling.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ To learn how to adjust your connection pool to address this error, see
8484
:manual:`Tuning Your Connection Pool Settings
8585
</tutorial/connection-pool-performance-tuning/>` in the Server manual.
8686

87-
Depending on the circumstances that produce the error, the driver may
87+
Depending on the circumstances that produce the error, the driver might
8888
add a ``RetryableWriteError`` label to the error, as shown in the
8989
following error message:
9090

source/usage-examples.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ How to Use the Usage Examples
5252

5353
The usage examples are designed to run operations on a MongoDB deployment that contains
5454
the Atlas sample datasets. When you run the example code without the sample data, the output
55-
may not match.
55+
might not match.
5656

5757
Follow this tutorial to set up your MongoDB deployment with the sample data and run the
5858
example code in your development environment. Before performing the following actions,

source/whats-new.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,14 @@ improvements, and fixes:
3535
- Adds MongoDB Atlas Search index management methods. To learn more about
3636
these methods, see the :ref:`rust-atlas-search-indexes` guide.
3737

38-
- Improves network connectivity and operation reliability.
39-
The driver avoids retrying network connections for ``mongos`` backends
40-
experiencing network connectivity issues. It also performs retries on a
41-
greater range of error types encountered.
38+
- Improves network connectivity and operation reliability by implementing the
39+
following behaviors:
40+
41+
- Performs retries on a greater range of error types that the driver
42+
encounters.
43+
44+
- Avoids retries for ``mongos`` instances experiencing
45+
network connectivity issues.
4246

4347
To learn more about this release, see the
4448
`v2.8.0 Release Highlights

0 commit comments

Comments
 (0)