Skip to content

Commit 4fc3b5c

Browse files
(DOCSP-10774): Fix bad refs in Compass index instructions
1 parent 9db633c commit 4fc3b5c

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

source/includes/steps-create-index-compass.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,51 +50,49 @@ content: |
5050
- If checked, ensure that the MongoDB deployment remains
5151
available during the index build operation.
5252
53-
- :manual:`Background Construction </core/index-creation/index.html#background-construction>`
53+
- :ref:`Background Construction <index-creation-background>`
5454
5555
* - Create unique index
5656
5757
- If checked, ensure that the indexed fields do not
5858
store duplicate values.
5959
60-
- :manual:`Unique Indexes </core/index-unique>`
60+
- :ref:`Unique Indexes <index-type-unique>`
6161
6262
* - Create :abbr:`TTL (Time to Live)`
6363
6464
- If checked, automatically delete documents after a
6565
specified number of seconds since the indexed field value.
6666
67-
- :manual:`TTL Indexes </core/index-ttl>`
67+
- :ref:`TTL Indexes <index-feature-ttl>`
6868
6969
* - Partial filter expression
7070
7171
- If checked, only index documents which match the specified
7272
filter expression.
7373
74-
.. example::
74+
For example, the following partial filter expression only
75+
indexes documents where the ``timezone`` field exists:
7576
76-
The following partial filter expression only indexes
77-
documents where the ``timezone`` field exists:
77+
.. code-block:: js
7878
79-
.. code-block:: js
80-
81-
{ "timezone": { "$exists": true } }
79+
{ "timezone": { "$exists": true } }
8280
83-
- :manual:`Partial Indexes </core/index-partial/>`
81+
- :ref:`Partial Indexes <index-type-partial>`
8482
8583
* - Use custom collation
8684
8785
- If checked, create a custom collation for the index
8886
using the options provided in Compass.
8987
90-
- :manual:`Collation Document </reference/collation/#collation-document>`
88+
- :ref:`Collation Document <collation-document-fields>`
9189
9290
* - Wildcard projection (*New in MongoDB 4.2*)
9391
9492
- If checked, support unknown or arbitrary fields
9593
which match the specified projection in the index.
9694
97-
- :manual-next:`Wildcard Indexes </core/index-wildcard/>`
95+
- :ref:`wildcard-index-core`
9896
---
9997
title: Click :guilabel:`Create` to create the index.
10098
level: 4

0 commit comments

Comments
 (0)