Skip to content

Commit 3544d77

Browse files
authored
[Node] Capitalize Server throughout repo (#833)
* capitalize Server in reference to the 'Server manual' and 'MongoDB Server'
1 parent 456be73 commit 3544d77

File tree

16 files changed

+35
-33
lines changed

16 files changed

+35
-33
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ giza.log
88
.vscode*
99
*.swp
1010
*.code-workspace
11+
package.json
12+
package-lock.json

source/connection-troubleshooting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ takes too long attempting to reach unreachable replica set nodes. You can limit
318318
time the driver spends attempting to establish the connection by using the
319319
``connectTimeMS`` setting. To learn more about this setting, see the
320320
:manual:`Timeout Options </reference/connection-string/#timeout-options>` in
321-
the server manual.
321+
the Server manual.
322322

323323
You should ensure the ``connectTimeoutMS`` setting is not lower than
324324
the highest network latency you have to a member of the set. If one of the

source/faq.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ What Is the Difference Between "connectTimeoutMS", "socketTimeoutMS" and "maxTim
119119
- ``connectTimeoutMS`` is a :ref:`connection option
120120
<node-connection-options>` that sets the time, in milliseconds,
121121
for an individual connection from your connection pool to
122-
establish a TCP connection to the MongoDB server before
122+
establish a TCP connection to the {+mdb-server+} before
123123
timing out.
124124

125125
.. tip::
126126

127127
To modify the allowed time for `MongoClient.connect <{+api+}/classes/MongoClient.html#connect>`__ to establish a
128-
connection to a MongoDB server, use the ``serverSelectionTimeoutMS`` option instead.
128+
connection to a {+mdb-server+}, use the ``serverSelectionTimeoutMS`` option instead.
129129

130130
**Default:** 30000
131131
* - **socketTimeoutMS**

source/fundamentals/connection/connect.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ API feature, see the :ref:`{+stable-api+} page <nodejs-stable-api>`.
103103
Other Ways to Connect to MongoDB
104104
--------------------------------
105105

106-
If you are connecting to a single MongoDB server instance or replica set
106+
If you are connecting to a single {+mdb-server+} instance or replica set
107107
that is not hosted on Atlas, see the following sections to find out how to
108108
connect.
109109

110-
Connect to a MongoDB Server on Your Local Machine
110+
Connect to a {+mdb-server+} on Your Local Machine
111111
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
112112

113113
.. include:: /includes/localhost-connection.rst

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Cursors consume memory and network resources both in the client
159159
application and in the connected instance of MongoDB. Use
160160
`close() <{+api+}/classes/FindCursor.html#close>`__
161161
to free up a cursor's resources in both the client application
162-
and the MongoDB server:
162+
and the {+mdb-server+}:
163163

164164
.. literalinclude:: /code-snippets/crud/cursor.js
165165
:language: javascript

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ the field on the collection. The following snippet creates an index on the
9393
db.shipwrecks({coordinates: "2d"});
9494

9595
See the
96-
:manual:`MongoDB server manual page on legacy coordinate pairs </geospatial-queries/#legacy-coordinate-pairs>`
96+
:manual:`{+mdb-server+} manual page on legacy coordinate pairs </geospatial-queries/#legacy-coordinate-pairs>`
9797
for more information.
9898

9999
.. note::
@@ -142,5 +142,5 @@ England area:
142142
:start-after: start range geo example
143143
:end-before: end range geo example
144144

145-
See the :manual:`MongoDB server manual page on geospatial query operators </geospatial-queries/index.html>`
145+
See the :manual:`{+mdb-server+} manual page on geospatial query operators </geospatial-queries/index.html>`
146146
for more information on the operators you can use in your query.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ group, and arrange the result data from a collection.
173173
{ _id: 'created', count: 9 }
174174
]
175175

176-
See the MongoDB server manual pages on :manual:`aggregation </aggregation>`
176+
See the {+mdb-server+} manual pages on :manual:`aggregation </aggregation>`
177177
for more information on how to construct an aggregation pipeline.
178178

179179
.. _node-fundamentals-watch:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ you let the driver automatically generate ``_id`` values.
6969
Duplicate ``_id`` values violate unique index constraints, resulting
7070
in a ``WriteError``.
7171

72-
For additional information about ``_id``, see the Server Manual Entry on
72+
For more information about ``_id``, see the Server manual entry on
7373
:manual:`Unique Indexes </core/index-unique/>`.
7474

7575
Insert a Single Document
@@ -111,7 +111,7 @@ section, see the following resources:
111111

112112
- API Documentation on `insertOne() <{+api+}/classes/Collection.html#insertOne>`__
113113
- API Documentation on `InsertOneResult <{+api+}/interfaces/InsertOneResult.html>`__
114-
- Server Manual Entry on :manual:`insertOne() </reference/method/db.collection.insertOne/>`
114+
- Server manual entry on :manual:`insertOne() </reference/method/db.collection.insertOne/>`
115115
- Runnable :doc:`Insert a Document Example </usage-examples/insertOne>`
116116

117117
Insert Multiple Documents
@@ -236,7 +236,7 @@ section, see the following resources:
236236
- API Documentation on `insertMany() <{+api+}/classes/Collection.html#insertMany>`__
237237
- API Documentation on `InsertManyResult <{+api+}/interfaces/InsertManyResult.html>`__
238238
- API Documentation on `PkFactory <{+api+}/interfaces/PkFactory.html>`__
239-
- Server Manual Entry on :manual:`insertMany() </reference/method/db.collection.insertMany/>`
239+
- Server manual entry on :manual:`insertMany() </reference/method/db.collection.insertMany/>`
240240
- Runnable :doc:`Insert Multiple Documents Example </usage-examples/insertMany>`
241241

242242
.. _node-insert-instruqt-lab:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ update operators:
6767
- ``$unset``: removes fields
6868
- ``$mul``: multiplies a field value by a specified number
6969

70-
See the MongoDB Server manual for a :manual:`complete list of update operators
70+
See the {+mdb-server+} manual for a :manual:`complete list of update operators
7171
and their usage </reference/operator/update-field/>`.
7272

7373
The update operators apply only to the fields associated with them in your
@@ -134,7 +134,7 @@ attempts to perform an update, but if no documents are matched, inserts
134134
a new document with the specified fields and values.
135135

136136
You cannot modify the ``_id`` field of a document nor change a field to
137-
a value that violates a unique index constraint. See the MongoDB Server manual
137+
a value that violates a unique index constraint. See the {+mdb-server+} manual
138138
for more information on :manual:`unique indexes </core/index-unique/>`.
139139

140140
.. _node-fundamentals-replaceone:
@@ -215,7 +215,7 @@ attempts to perform the replacement, but if no documents are matched, it
215215
inserts a new document with the specified fields and values.
216216

217217
You cannot modify the ``_id`` field of a document nor change a field to
218-
a value that violates a unique index constraint. See the MongoDB Server manual
218+
a value that violates a unique index constraint. See the {+mdb-server+} manual
219219
for more information on :manual:`unique indexes </core/index-unique/>`.
220220

221221
.. _node-update-instruqt-lab:

source/fundamentals/gridfs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ the file storage.
2929

3030
You should use GridFS if the size of your file exceeds the BSON-document
3131
size limit of 16 megabytes. For more detailed information on whether GridFS is
32-
suitable for your use case, see the :manual:`GridFS server manual page </core/gridfs>`.
32+
suitable for your use case, see the :manual:`GridFS Server manual page </core/gridfs>`.
3333

3434
Navigate the following sections to learn more about GridFS operations
3535
and implementation:
@@ -60,7 +60,7 @@ collection to ensure efficient retrieval of files and related
6060
metadata. The driver only creates the GridFS bucket on the first write
6161
operation if it does not already exist. The driver only creates indexes if
6262
they do not exist and when the bucket is empty. For more information on
63-
GridFS indexes, see the server manual page on :manual:`GridFS Indexes </core/gridfs/#gridfs-indexes>`.
63+
GridFS indexes, see the Server manual page on :manual:`GridFS Indexes </core/gridfs/#gridfs-indexes>`.
6464

6565
When storing files with GridFS, the driver splits the files into smaller
6666
pieces, each represented by a separate document in the ``chunks`` collection.

0 commit comments

Comments
 (0)