From a6d53effbd86930afbbf8973a3168876d7560408 Mon Sep 17 00:00:00 2001 From: jeff-allen-mongo Date: Thu, 11 Jun 2020 13:12:31 -0400 Subject: [PATCH] (DOCSP-10774): Fix bad refs in Compass index instructions --- .../includes/steps-create-index-compass.yaml | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/source/includes/steps-create-index-compass.yaml b/source/includes/steps-create-index-compass.yaml index b974e944064..c4236364d97 100644 --- a/source/includes/steps-create-index-compass.yaml +++ b/source/includes/steps-create-index-compass.yaml @@ -50,51 +50,49 @@ content: | - If checked, ensure that the MongoDB deployment remains available during the index build operation. - - :manual:`Background Construction ` + - :ref:`Background Construction ` * - Create unique index - If checked, ensure that the indexed fields do not store duplicate values. - - :manual:`Unique Indexes ` + - :ref:`Unique Indexes ` * - Create :abbr:`TTL (Time to Live)` - If checked, automatically delete documents after a specified number of seconds since the indexed field value. - - :manual:`TTL Indexes ` + - :ref:`TTL Indexes ` * - Partial filter expression - If checked, only index documents which match the specified filter expression. - .. example:: + For example, the following partial filter expression only + indexes documents where the ``timezone`` field exists: - The following partial filter expression only indexes - documents where the ``timezone`` field exists: + .. code-block:: js - .. code-block:: js - - { "timezone": { "$exists": true } } + { "timezone": { "$exists": true } } - - :manual:`Partial Indexes ` + - :ref:`Partial Indexes ` * - Use custom collation - If checked, create a custom collation for the index using the options provided in Compass. - - :manual:`Collation Document ` + - :ref:`Collation Document ` * - Wildcard projection (*New in MongoDB 4.2*) - If checked, support unknown or arbitrary fields which match the specified projection in the index. - - :manual-next:`Wildcard Indexes ` + - :ref:`wildcard-index-core` --- title: Click :guilabel:`Create` to create the index. level: 4