Skip to content

Commit 5e5e3d2

Browse files
authored
DOCSP-26431 replace docs (#2274)
* DOCSP-26431 replace docs * found unsaved file * another unsaved file
1 parent 69ae8b8 commit 5e5e3d2

17 files changed

+27
-25
lines changed

source/core/index-creation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ Observe Stopped and Resumed Index Builds in the Logs
353353
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
354354

355355
While an index is being built, progress is written to the
356-
:doc:`MongoDB log</reference/log-messages>`. If an index build is
356+
:ref:`MongoDB log<log-messages-ref>`. If an index build is
357357
stopped and resumed there will be log messages with fields like these:
358358

359359
.. code-block:: bash

source/core/read-preference-mechanics.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Read Preference for Replica Sets
3434
--------------------------------
3535

3636
Server selection occurs once per operation and is governed by the
37-
:doc:`read preference </core/read-preference>` and ``localThresholdMS``
37+
:ref:`read preference <read-preference>` and ``localThresholdMS``
3838
settings to determine member eligibility for reads. The read preference
3939
is re-evaluated for each operation.
4040

@@ -92,7 +92,7 @@ To use hedged reads:
9292
- the :binary:`~bin.mongos` must have enabled support for hedged reads
9393
(Default). See the :parameter:`readHedgingMode` parameter.
9494

95-
- Non-``primary`` :doc:`read preferences </core/read-preference>` must
95+
- Non-``primary`` :ref:`read preferences <read-preference>` must
9696
enable use of hedged reads.
9797

9898
.. include:: /includes/extracts/server-selection-read-preference-sharded-clusters.rst

source/core/workload-isolation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Specifically, with MongoDB, you can:
5050
For full documentation of these features, see the following
5151
documentation in the MongoDB Manual:
5252

53-
- :doc:`Read Preferences </core/read-preference>`, which controls how drivers
53+
- :ref:`Read Preferences <read-preference>`, which controls how drivers
5454
help applications target read operations to members of a replica set.
5555

5656
- :doc:`Write Concerns </reference/write-concern>`, which controls

source/faq/sharding.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ the :doc:`/sharding` section in the manual, which provides an
1919
- :doc:`Shard Keys and Considerations for Shard Key Selection
2020
</core/sharding-shard-key>`
2121

22-
- :doc:`Query Routing </core/sharded-cluster-query-router/>`
22+
- :ref:`Query Routing <sharding-read-operations>`
2323

2424
- :ref:`sharding-availability`
2525

@@ -60,7 +60,7 @@ sharding a collection and cannot upgrade, the best option is to:
6060

6161
- configure sharding using a more ideal shard key.
6262

63-
- :doc:`pre-split </tutorial/create-chunks-in-sharded-cluster>` the shard
63+
- :ref:`pre-split <create-chunks-in-a-sharded-cluster>` the shard
6464
key range to ensure initial even distribution.
6565

6666
- restore the dumped data into MongoDB.

source/includes/limits-sharding-shardkey-immutable.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In MongoDB 4.2 and earlier, to change a shard key:
66

77
- Configure sharding using the new shard key.
88

9-
- :doc:`Pre-split </tutorial/create-chunks-in-sharded-cluster>` the shard
9+
- :ref:`Pre-split <create-chunks-in-a-sharded-cluster>` the shard
1010
key range to ensure initial even distribution.
1111

1212
- Restore the dumped data into MongoDB.

source/indexes.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Index Properties
211211
Unique Indexes
212212
~~~~~~~~~~~~~~
213213

214-
The :doc:`unique </core/index-unique>` property for an index causes
214+
The :ref:`unique <index-type-unique>` property for an index causes
215215
MongoDB to reject duplicate values for the indexed field. Other than
216216
the unique constraint, unique indexes are functionally interchangeable
217217
with other MongoDB indexes.
@@ -221,7 +221,7 @@ with other MongoDB indexes.
221221
Partial Indexes
222222
~~~~~~~~~~~~~~~
223223

224-
:doc:`Partial indexes </core/index-partial>` only index the documents in
224+
:ref:`Partial indexes <index-type-partial>` only index the documents in
225225
a collection that meet a specified filter expression. By indexing a
226226
subset of the documents in a collection, partial indexes have lower
227227
storage requirements and reduced performance costs for index creation
@@ -233,7 +233,7 @@ and should be preferred over sparse indexes.
233233
Sparse Indexes
234234
~~~~~~~~~~~~~~
235235

236-
The :doc:`sparse </core/index-sparse>` property of an index ensures
236+
The :ref:`sparse <index-type-sparse>` property of an index ensures
237237
that the index only contain entries for documents that have the indexed
238238
field. The index skips documents that *do not* have the indexed field.
239239

source/reference/command/profile.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _profile-command:
2+
13
=======
24
profile
35
=======

source/reference/configuration-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4733,7 +4733,7 @@ LDAP Parameters
47334733
until the :binary:`~bin.mongos` recalculates the average.
47344734

47354735
See the :ref:`replica-set-read-preference-behavior-member-selection`
4736-
section of the :doc:`read preference </core/read-preference>`
4736+
section of the :ref:`read preference <read-preference>`
47374737
documentation for more information.
47384738

47394739

source/reference/connection-string.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ For more information, see :doc:`/reference/read-concern`.
840840
Read Preference Options
841841
~~~~~~~~~~~~~~~~~~~~~~~
842842

843-
:doc:`Read preferences </core/read-preference>` describe the
843+
:ref:`Read preferences <read-preference>` describe the
844844
behavior of read operations with regards to :term:`replica sets
845845
<replica set>`. These parameters allow you to specify read preferences
846846
on a per-connection basis in the connection string.
@@ -891,7 +891,7 @@ For details, see :ref:`read-preference-tag-order-matching`.
891891

892892
* - .. urioption:: readPreference
893893

894-
- Specifies the :doc:`read preferences </core/read-preference>`
894+
- Specifies the :ref:`read preferences <read-preference>`
895895
for this connection. Possible values are:
896896

897897
- :readmode:`primary` (*Default*)
@@ -953,7 +953,7 @@ For details, see :ref:`read-preference-tag-order-matching`.
953953
:binary:`mongo` shell. See :method:`cursor.readPref()` and
954954
:method:`Mongo.setReadPref()` instead.
955955

956-
For more information, see :doc:`Read preferences </core/read-preference>`.
956+
For more information, see :ref:`Read preferences <read-preference>`.
957957

958958
.. _connection-string-auth-options:
959959

source/reference/glossary.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ Glossary
907907
sets. By default, MongoDB directs reads to :term:`primaries
908908
<primary>`. However, you may also direct reads to secondaries for
909909
:term:`eventually consistent <eventual consistency>` reads. See
910-
:doc:`Read Preference </core/read-preference>`.
910+
:ref:`Read Preference <read-preference>`.
911911

912912
read lock
913913
A shared :term:`lock` on a resource such as a collection or

0 commit comments

Comments
 (0)